Redirect not enrolled students to the overview...

...if they try to acccess enrolled only views

Before, it returned a forbidden error, now it redirects the user to the
course overview and shows a message telling the user that he is not
enrolled in the course.