RESTful API in CakePHP, and docs

This pull request includes a RESTful API, written in CakePHP, as well as documentation, written in Sphinx.

This pull request should satisfy the requirements of #8.

This pull request does not include necessary changes to make / cmake (I'll leave that to the pros).