CONTRIB-2828 Adding capability check
Merge branch 'master' of git://github.com/bostelm/moodle-mod_scheduler