Began api.md documentation

Also changed the responses for /create and /entropy
so that all responses are JSON
began implementing reference client
Merge pull request #60 from dannycoates/docs

API docs and reference client