Use XPath and libxml2 to modify Tomcat's server.xml

Eventually, I'd like to get this functionality moved into cpsetup, but for now this should help with development work.