RapidXML is in PropertyTree as an implementation detail and should be treated as such, so prefix macros and put the namespace into ptree's detail namespace. Fixes bug 3817.