Update REST API documentation

- Rename cbapi.md to README.md
- A bunch of edits, mostly formatting