Refactor many aspects of the post-reg invitation system.

Settings refactored to be more understandable via default settings and
more consistent naming across the board.

Removed migrations because they would be useless.

Overhauled test suite to test the new system.

Added tox config.

Still needs revamping of email/admin etc.
Cleanup some settings.