Libxml upgrade

Creating a generic interface between Tritium and Gokogiri (https://moovweb.atlassian.net/browse/PFST-49)
if there isn't anything you need to do for the default case, you can just omit it and have it fall through to the return after the switch.