Merge branch 'MDL-51524-master' of git://github.com/andrewnicols/moodle