Tokeninput URL changed
Trailing slash in login/logout addresses
Massive code cleanup
(mostly PEP-8 and Django coding style compliance: renamed model classes, added spaces around operators and some docstrings)