- Fix bugs in plugin_manager class (Moodle 2.4, Moodle 2.5 and Moodle
2.6).
- Insert function download update file for online update.
- Change permission of new image file.