Merge branch 'MDL-37485_22' of git://github.com/timhunt/moodle into MOODLE_22_STABLE