Fix put_json test helper to work with Rails 3.
Fix put_json test helper to work with Rails 3.

Rails 3 integration stuff has some special handling for content-type,
but this is done before the case etc. is normalised, so if this doesn't
match the case that Rails uses internally, oddness ensues.

alphagov/router-api,alphagov/router-api