Restrict nokogiri versions

Nokogiri 1.6.x introduces test failures due to whitespace changes.