Merge user accounts in client applications

Complex use cases (unique constraints involving User or Profile models) require subclasses to implement a migrate_user or migrate_profile method. Simple use cases are automatically migrated.

To add support in client apps, derive from the `UserBase2` and `ProfileBase` classes and generate Alembic migrations for the new status columns.