If the data to Response::json is "Arrayable", toArray it
testArrayfyDataBeforeSendingAsJson
Strip comment out
Allowing overrides for helper functions.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Merge pull request #508 from julien-c/response-json

Add JSONResponse support for Arrayable data
rename path helper to url.