Added shouldParseOnError flag to JSON response serializer.

Setting this to NO allows HTTP errors instead of JSON parse errors to be passed
to the callbacks.