[query.rb] if format is declared as json, encode it as such in the request body.
[query_spec.rb] just a spec to make sure that the body deserializes into the same thing as the original payload.
[query_spec.rb] flipped arguments so that expected result is on the right.
[query_spec.rb] fixed issue where it doesn't deserialize back in to symbols. also moved .should to the LHS.
Merge branch 'master' into query_json_encoding

Conflicts:
	spec/motion/http/query_spec.rb