MDL-36467 SCORM: remove old debugging superceded by full scorm debugger
MDL-36509: Assignment grading table rownum offset is wrong by one.
MDL-30643 - Added fifth table to speed up enrolment look ups.
MDL-30643 - Fixed timezone problems in test cases.
Merge branch 'wip-MDL-36398-master' of git://github.com/barbararamiro/moodle
Merge branch 'MDL-36509' of git://github.com/netspotau/moodle-mod_assign
Merge branch 'MDL-30545' of git://github.com/timhunt/moodle
Merge branch 'w46_MDL-36169_m24_enrolsort' of git://github.com/skodak/moodle
MDL-30643 - Fixed timezone problems in test cases.

resolved integration time changes conflict.
Conflicts:
	lib/tests/statslib_test.php
MDL-30545 - messagelib: use $DB->sql_concat()
MDL-30139 enrol: added search button to AJAX enrolment search
MDL-36561 chat: Chat does not use calendar icons
MDL-36494 Do not display a debugging message about invalid update info

It turned out that this well-meant debugging message just caused a lot
of false alarm with no good reason. It seems to be better just ignore it
at the moment.
MDL-30545 messaging - remove DISTINCT from union statement
MDL-36369 Question types and behaviour settings should not require moodle/site:config
MDL-30643 - Improved error reporting for daily stats tests.
MDL-36369 qtypes and qbehaviour settings permissions.

The correct policy is that users with moodle/question:config can set the
default settings for particular qtypes. However, it requires
moodle/site:config in order to do manage qbehaviours or manage qtypes.
MDL-36575: Adding mod_lti_generator

This adds the hook for LTI module generation
for unit tests.
MDL-36336: Prevent duplicate grade items on restore

During restore, lti_add_instance() was being called
and this could generate a grade item.  This would
produce a duplicate item because the restore
process would automatically generate the grade item.
MDL-36579: Adding missing fields in mod/lti backup