add nokogiri 1.6.3.1 compatibility and update development dependencies

on request from https://github.com/InspireNL just updated this repo to latest dependency versions. Also had to update the specs for it (breaking rspec version upgrade). And nokogiri 1.6.3.1 upgrade requires a new rescue call in base.rb (parse method).