Added unique for type and subtype. fixed issue with making model for DjangoSession. Cleaned up migrations and added tests to test type and subtype uniqueness.