making pep8 happy
reorder and rename args for functions in access.py
Fix up has_access() calls
Refactor to use course_id for permissions.