MDL-40096 assign: Prevent js error because uniqid() is not unique.

Use html_writer::random_id instead because it incorporates a static counter.
MDL-25473 mediaplayer - prevent embedded videos from looping
MDL-43306 restore: fix grade item sortorder restoration

Previously, restore was blindly inserting the old sort order into the
database, causing duplicate sortorders which lead to unpredicatble
sorting results.

Now we will use the api function to add it after the original sortorder,
this means if a duplicate exists in the original location, this item
will appear after it.
MDL-37972 Assignment: fixing settings link for upload single submissions
MDL-42104: trap tab focus within dialog modal,

for filepicker and filemanager
MDL-34321 Assignment2.2 - Fixing submission count
MDL-42085 Enrol: Always apply enrolment duration.

Before the fix, the startdates and duration fields were integrated to HTML code only
when the user clicked on the collapsible region to see them.
It was wrong because their values were not sent by the form
if ever the user didn't expand this Enrolment options region.
MDL-40436 block_course_list: Fix bad context resolution

We were trying to get the course context of a remote course
from a completely unrelated ID. It would sometimes work if the
ID was matching the one of a local course. In other places
we are not trying to find a context for the remote course, we
simply use the $PAGE context in format_string. So the usage
of the context has been removed here too.
MDL-42931 set new requirements for 2.7
Automatically generated installer lang files
Merge branch 'MDL-42085-24' of git://github.com/mouneyrac/moodle into MOODLE_24_STABLE
Merge branch 'w51_MDL-42931_m24_env27' of https://github.com/skodak/moodle into MOODLE_24_STABLE
Merge branch 'MDL-40436-24' of git://github.com/FMCorz/moodle into MOODLE_24_STABLE
Merge branch 'MDL-40096-24' of git://github.com/damyon/moodle into MOODLE_24_STABLE
Merge branch 'MDL-37972-24' of git://github.com/phalacee/moodle into MOODLE_24_STABLE
MDL-21180 Gradebook: Consistent handling of change in aggregation

Change from/to GRADE_AGGREGATE_WEIGHTED_MEAN and GRADE_AGGREGATE_EXTRACREDIT_MEAN was only
handled prior to this patch. GRADE_AGGREGATE_SUM and GRADE_AGGREGATE_WEIGHTED_MEAN2 also
behave similar and should be handled same way
Merge branch 'wip-mdl-21180-m24' of https://github.com/rajeshtaneja/moodle into MOODLE_24_STABLE
MDL-41075 Remove "Choose..." option from participants page.
Merge branch 'MDL-34321-24' of git://github.com/phalacee/moodle into MOODLE_24_STABLE
Merge branch 'MDL-25473-24' of git://github.com/phalacee/moodle into MOODLE_24_STABLE