Renamed test files from "test_*.rb" into "*_test.rb

Update URI#params_hash to use Array.to_h when available ie. since Ruby 2.1