Server-side logic for database receiver almost complete. Paired by Richard
and Michael

The server-side logic for the database receiver is complete apart from
authetication. All unit tests pass and integration testing seems to work (but
will be better tested on the client-side logic). Feature #182