Implement API non-RESTful format, JSONP, CORS

Fixes #53.
Still, if it’s not structured (JSON or XML), it’s hard to parse for client.