Added tox

https://testrun.org/tox/latest/
Fixed failing migrations

Migrations where fixed so they use the correct user model depending on
the running environment