Add canUserTakeCourse() function

This function does pull more data than it needs to when used from Courses::view, but if we want to use it from anywhere else,
we're going to need to query the db for all of this information.
Check for completion of Series prerequisites before viewing a Course. Redirects to the parent Series if they can't view.

Uses the new Course::canUserTakeCourse()