Merge branch 'MDL-27703_user_report_sql' of git://github.com/andyjdavis/moodle