MDL-41446 Completion: Incorrectly marks complete when grade data present with no actual grade
MDL-40515: report_log: List activities in optgroups
MDL-22669 course: Display section number for orphaned activities
MDL-42065 core_grade: Modified some grade_item queries for improved performance

* Modified 2 queries in grade_item::depends_on to improve performance
* Added additional unit tests to cover those queries better
MDL-37528 Libraries: Fix gesture + mouse issues with YUI

This addresses issues with devices which support both mouse and gesture
input devices whereby the presence of gesture support on the device causes
mouse interactions to be ignored.

This has the potential to cause issues with multiple events being triggered
for the same action, but we do not have this issue in core, and few
third-party plugins support drag and drop in such a way that this may be an
issue.

This is fixed in the latest version of YUI in a similar way, and the
addition of a new system to only trigger the event from the first action to
be triggered.
MDL-31405 Assignment reset issue solved
MDL-31405 Assignment: Fixed date in reset to be called once

Conflicts:

	mod/assign/locallib.php
Automatically generated installer lang files
MDL-29441 Chat: Use a valid name for chat popup actions
MDL-36818 cas: improve SSL validation
MDL-42209 backup: fixed wrong icon being displayed when restoring course
MDL-42234 - Repositories: Fix undefined variable notice when no repositories are enabled.
MDL-42309 typo: fix reponse -> response throughout Moodle.
Merge branch 'wip-MDL-42234-24' of git://github.com/abgreeve/moodle into MOODLE_24_STABLE
MDL-37877 backup: Fix issues with zipping of large files

Files bigger than 4GB is not supported at this point. Zip archiver doesn't know about it and always returns true. We need to verify if it is a valid file or not and delete if not
Also delete the backup file immediately if anything goes wrong anywhere in backup. We don't want to use up space
Merge branch 'MDL-42209_m24' of https://github.com/markn86/moodle into MOODLE_24_STABLE
Merge branch 'MDL-37877-m24' of git://github.com/ankitagarwal/moodle into MOODLE_24_STABLE
MDL-35402 forms - prevent crash when multiple rules defined on an editor element
MDL-37877 backup: fix incorrect backported code.
MDL-26244 mod_date:added some logic show or hide the file picker button based on repository availability