Libxml upgrade

Creating a generic interface between Tritium and Gokogiri (https://moovweb.atlassian.net/browse/PFST-49)
probably better to just have it be `return t == xml.XML_DOCUMENT_NODE || t == xml.XML_HTML_DOCUMENT_NODE` rather than a needless if/else.