nokogiri >= 1.6 only works with Ruby 1.9
fix gem requirements in tests (+ only to those if bundler not available)
remove unused test helper code