Adding support for Moodle 2.4.

Loading dependencies