Libxml upgrade

Creating a generic interface between Tritium and Gokogiri (https://moovweb.atlassian.net/browse/PFST-49)
on all functions like this in the PR, should we be checking to make sure fragment is also non-nil?