Include html in api responses
Added POST /api/documents/
Added missing document snippet template
Towards a single page app
Removed unused document handlers
Search and promises