Initial API (readonly)

API root is at `<server>/api/v1/`, add `?format=json` to view in browser.

Part of #9