Updated deprecated manage.py code, added authorization tests to tox.
Enabled customuser tests in tox, fixed customuser tests, changed run_all_tests.sh to work with all versions of Django.
Use list comprehensions where reasonable, which is slightly faster.