Merge branch 'MDL-51991-master' of git://github.com/ryanwyllie/moodle