Adding isJson() and wantsJson() to Request

Needs to be documented.
Merge pull request #606 from JesseObrien/patch-1

Adding isJson() and wantsJson() to Request