Libxml upgrade

Creating a generic interface between Tritium and Gokogiri (https://moovweb.atlassian.net/browse/PFST-49)
The previous comment was about accessing it like this. After seeing it this way, I feel this does make it easier to understand but am fine with just changing this instance to the other method, provided it's all done one way or the other.