Added support for courses in Preview mode
Indenting fixes
Merge pull request #90 from vojnovski/master

Added support for courses in Preview mode that have been taught previously and are about to reopen