Use alembic for database migrations.
Add facility to set an alias for a replay.
Refactor replay nav and various headers into a replay_header macro.
Use replay aliases when available.
Don't try to get aliases unless logged in.