Initial alembic configuration.
Update db to link commits to repos unambiguously.

Fixes #11.
Merge branch 'feature/alembic' into develop