Libxml upgrade

Creating a generic interface between Tritium and Gokogiri (https://moovweb.atlassian.net/browse/PFST-49)
We'd prefer to keep the interface as minimal as possible in case we want to plug in other libraries that might not make it easy to support such operations.