Add docstrings, misc. cleanups and PEP8 fix
Fix earlier change that removed a "course_email:" prefix from some tags