Implement API non-RESTful format, JSONP, CORS

Fixes #53.
Do you want to add the `OPTIONS` short circuiting too?