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