Adding isJson() and wantsJson() to Request

Needs to be documented.