Add capability "addinstance" as required by Moodle 2.4+

The addinstance capability is needed for Moodle 2.4 and higher.