[BUGFIX] We were still relying a little on niceogiri monkeypatches
[BUGFIX] More reliably import attribute values

Nokogiri is just permanently frickin' broken on JRuby and I'm tired of filing issues.
[BUGFIX] Fix failure of URIList comparison on rubinius