Redirected to dashboard if course mode is none.
LMS-2617
Merge pull request #3632 from edx/waheed/lms2617-verify-mode-none

Redirected to dashboard if course mode is none.