Implement API non-RESTful format, JSONP, CORS

Fixes #53.
That's what I had at first too, but I thought this was more clear, especially given the comment above. =)