Merge branch 'MDL-45789_m27' of https://github.com/markn86/moodle into MOODLE_27_STABLE