Pylint/pep8 cleanup.
The course creator view adds granted users course creator status.

Includes unit tests and modifications to authz.py.