Upgrade dependencies
Fix the tests with an ugly hack
Migrate to immutant2

This gives us the benefit that we can also run outside of the container
Create a production api

which takes care of dealing with the db and the file system (in the case
of creation and deletion

Also refactored the db api to use better function names