Adds a new JSONFail func to send a JSON object to the client and also attaches an error to the current context
Merge pull request #1 from kevinwatson/json_fail

Adds a new JSONFail function