Patch error on capability
Remove char at the beginning 
Remove final ?>
Remove final ?>
add myaddinstance capability
add myaddinstance capability
Upgrade for moodle 2.6
Merge origin/master