Postgresql rabbit

This removes sqlite and replaces with postgresql and rabbitmq, and adds support for running inside a docker container.

The /status endpoint has been removed and replaced with /job/<uuid>/.
The /jobs API has been fixed to not return 'FINISHED' jobs by default.
Heartbeating has been removed as it is implemented (and configurable) inside rabbitmq.