Change to Ruby 1.8.7 hash syntax and lock to a minor version of Nokogiri