Add tox and the first acceptance test.
Fix database Dockerfile.