Fixing an issue with not sending the launch_presentation_return_url
MDL-36986: Adding course_restored event trigger
MDL-25630 moodle/index.php: Wraps individual front page content elements (Site news/Course list/Category names/Category combo) in divs with descriptive classes so they can be styled individually.
MDL-37355 Fix the REST server that didn't send back the cleaned values
MDL-35074: grader report - Ease limit on number of students per page

The limit imposed by max_input_vars "applies only to each nesting level of
a multi-dimensional input array"
(http://www.php.net/manual/en/info.configuration.php#ini.max-input-vars).

Turning the grader report fields into arrays (they were all top-level form
fields, i.e. elements of the top-level array) makes the number of students
become the only limiting factor, thereby allowing us to relax the limit on
number of students per page greatly (to 1 less than max_input_vars, for
safety).
MDL-34435 reports: Log category actions
MDL-37473 completion: Add missing cap checks to tracked users functions

Namely get_num_tracked_users and is_tracked_user()
MDL-36457 testing Relocating classes
MDL-36853 SCORM: get first valid sco instead of array of scos - thanks to Jamie Smith for the fix - fixes PHP warnings when returning to an existing attempt.
MDL-27164 groups Do not show multiple instances of the same role as multiple
MDL-34050: Lesson module: fixed matching answer format to use text
MDL-34050 Lesson module: Fixed undefined variable for $qtype
MDL-34050 Lesson Module: improved matching question logic for checking user response.  This patch will also resolved MDL-36343.
MDL-15930 - admin: reorganize logic to allow ->fullnamedisplay to be used as default sort.
MDL-36674 Administration: out_as_local_url will check for both http and https url's

out_as_local_url will first check if url passed in wwwroot, if it's not then it will check
if loginhttps is enabled and url is httpswwwroot
MDL-32652 - Make block drag-drop work throughout Moodle

Other than shifting the initialisation from course/lib.php to
lib/outputrequirementslib.php, some workarounds/tweaks were required
in order to make it work correctly on admin pages and My Home.
MDL-37457 testing Refactoring references
MDL-37457 testing Mark current classes as deprecated
MDL-37430 Course - Make modules created in hidden sections visible when section is made visible.
MDL-34050 Lesson Module: Fixed spacing and removed array_unique() for responses