Update for Moodle 2.4
Added new 'addinstance' capability.