New document endpoint

First implementation of an Admin Service endpoint for inserting documents (#109).

The endpoint is `documents/new`. Documents are json and can be POSTed to this endpoint, along with an optional `action` request parameter that sets the document action.


(ugly diff due to differing line endings)