Revert "Removed slug.py mechanishm in favor of django slugify"

This reverts commit d21c833b6c20033ff308dc853436d00d72031a98.
Enforce unique slugs when creating courses
Fix PEP8 in courses' views