Support for Moodle 2.4 and 2.5

Supporting 2.3 and below will require extensive changes, as the modinfo
library was extensively overhauled in 2.4. It seems silly implementing
support for these versions now that Moodle HQ no longer provide security
updates for them.