Work in progress.

 1. Separated 'showhiddencourses' capability so now there are 2 capabilities: for students and for staff.
2. Made changes to hide/disable link of a course that is hidden from the user.