Fix query_params for valueless params

Before was raising error: 'NoMethodError: undefined method `tr' for nil:NilClass'
Merge pull request #2 from seomoz/fix_query_params_for_valueless_params

Fix query_params for valueless params