Updated version number.
Added compatability for moodle 2.5.