cpp: bioformats: Add escapeXML and sanitizeXML to XMLtools
cpp: xerces: Add writeDocument methods
cpp: bioformats: Replace C++11 pop_back for std::string