Make parser.rb compatible with nokogiri > 1.5.5
Merge pull request #24 from elijh/nokogiri-compatibility

Allow vines to work with nokogiri > 1.5.5