Add capability checks to user menu items
Merge branch 'master' of https://github.com/DBezemer/moodle-theme_essential