Add capability "addinstance" as required by Moodle 2.4+