Make the /incoming api create an incoming document and put it in couch
This is a followup to #8827 (closed). That issue creates the soledad entrypoint, and this issue makes that entrypoint usable. The /incoming
api should be generic enough, but the initial idea is to replace the use that Leap MX makes of soledad's couch backend by the use of this api.
The api should do the following:
- Receive incoming data.
- Create an incoming doc in the same way that MX does today with an incoming mail.
- Use treq for async interaction with couch.