Show hidden sections if user has capability to

Show hidden sections if user has
the capability: moodle/course:viewhiddensections

This is a fix for teachers and all other roles that have the
capability to see hidden sections.