Autoload classes for Moodle <2.6

Improves #15