Merge branch 'wip-MDL-27767-master' of git://github.com/samhemelryk/moodle