Switch to Nokogiri

Please don't merge this yet, there are still 3 tests failing. I'm opening this pull request to give this work a bit more visibility.