Integrate Alembic

- create the directory for the migration files and adapt the environment
  script to import the DB url from Flask's config
- stamp the schema when the tables are created
- detect the schema version on session creation and error-out if it is
  obsolete

TODO: add documentation on alembic's command-line usage.