MDL-46712: Center EditPDF window on browser resize / zoom
MDL-47555 core_availability: Issue with page layout & grade restriction

* Set pagelayout before getting section info, otherwise conditional activity renderers will default to the default 'base' layout.
MDL-46499 navigation: better enrolled course limit

We now user $CFG->navcourselimit to limit the number of
courses shown in the navigation when browsing another users
full profile. Previously it showed all courses which caused
some slowdown.
MDL-47608 cachestore_mongo: fixed unit test error

If you configured your site to run mongo unit tests and had
the mongo extension and backend installed but did not have the
mongo service running you would get a fatal error when running
the unit tests.
That problem has been fixed by checking the mongo test instance
is ready before returning it.
MDL-46518 navigation: site glossaries now expand properly
MDL-47760 grades: dim category name if hidden
MDL-46332 : Display of 'Remove' button in Add/Remove Groups in Grouping

Fixed styling of Add/Remove Groups in Grouping to now use the same
layout as the Group Members page.
This fixes the issue with buttons being unaligned and introduces
consistency between pages.
MDL-47340 action_menu: selector, RTL, consistency fixes
MDL-47780 core: corrected docs for get_user_capability_course()
MDL-47740 question engine: let qs update variant later if appropriate

Variant has two purposes. First to determine which version of the
question the student will see. Hence it is used to set up the state
of the quetsion when the question is started. Then the internal state of
the question is saved in the first step.

Once that has been done, the variant number is purely informative, and
just used to break down the statistics.

In some cases (the one I have in mind is qtype_opaque) then there is a
complex randomisation process, which may lead to several inital variant
numbers acutally giving the same version of the question. In this case
it is nice if the question can update the stored variant number, to make
the statistics more meaningful.
MDL-47795 SCORM: SCORM report not a report.
Automatically generated installer lang files
MDL-47397 editor_atto: Properly close confirm dialogue in Behat test
MDL-47397 assignfeedback_editpdf: Copy stamps to other students in team

During a team submission the stamps were attached to the user that
was graded and not to the other users. This could lead to errors when
generating the PDF for each user.
MDL-47397 assignfeedback_editpdf: Tests use reliable way to annotate PDF

The drag and drop step did not work, so we moved to using the stamps
to annotate the PDF. They do not rely on drag&drop and produce the same
effects.
MDL-46853 calendar: fix import of no duration events
Merge branch 'wip_MDL-47795_M27' of git://github.com/gjb2048/moodle into MOODLE_27_STABLE
Merge branch 'MDL-47555_27' of https://github.com/rlorenzo/moodle into MOODLE_27_STABLE
Merge branch 'MDL-46332-grouping-remove-button-27' of git://github.com/DanBennettUK/moodle into MOODLE_27_STABLE
MDL-46332 fixed whitespace