Define Hash#to_query and set Hash#to_param as alias to it; with test cases