blocks: Add new capabilities required by Moodle 2.4
Merge pull request #3 from totara/master

Moodle 2.4 compatiblitiy