HTTP test helpers refactoring.

Mostly mechanical.
Introduce DoRequest params.
s/expectCode/expectStatus/ in tests.
Make AssertJSONCall also check the response content type.
Thanks for changing the name of this field too. It's been bugging me for a while :-)