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

Use html_writer::random_id instead because it incorporates a static counter.
MDL-43074 assignfeedback_editpdf: Use escapeshellarg for all args in exec command.

This is to fix a reported problem with windows compatibility (e.g. when ghostscript is installed in
a folder with spaces in the name).
MDL-43025 EditPDF: Increase memory limit when reading source pdfs.
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-43326 Assign: Start new attempt from previous missing sesskey
MDL-34321 Assignment2.2 - Fixing submission count
MDL-36984 Assign: Add redirect after saving grades
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-43355 testing: Return the hash when HEAD points to a hash
MDL-43348 theme: html <nav> element on the wrong content.
MDL-43062 course: Content of label is left-aligned, regardless of alignment chosen

Conflicts:
	theme/bootstrapbase/style/moodle.css
MDL-43268 fix filter notice when not in debug mode
MDL-42931 set new requirements for 2.7
MDL-43235 behat: Ensure that behat_config_manager::get_config_file_contents() has always a behat_wwwroot
Merge branch 'MDL-43326-26' of git://github.com/damyon/moodle into MOODLE_26_STABLE
Merge branch 'MDL-42085-26' of git://github.com/mouneyrac/moodle into MOODLE_26_STABLE
Merge branch 'w51_MDL-42931_m26_env27' of https://github.com/skodak/moodle into MOODLE_26_STABLE