MDL-46088 Impossible to click on Atto in a Quiz in 'Secure' mode.
MDL-46088 Quiz: Prevent alert when clicking in editor in secure popup
MDL-46088 quiz secure window: further Atto JS fixes.
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-47632 calendar: Fixed iCal link going blue after visiting it
MDL-47738 gradereport_history: User selector handles broke with 0 user

It was impossible to reopen the dialogue when the last search result
did not return any user.
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-47757 events: Fixed doc block and missing string.

The language events were missing the @since tag and
the grade single view report was missing a language
string.
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-47795 SCORM: SCORM report not a report.
MDL-47734 core: Prevent jumping of YUI dialogues

When a YUI dialogue was opened, it was focusing on the boundingBox, with
the browser moving the scroll position to focus on the top of the
boundingBox. This caused a jump. This only happens when the dialogue is
modal and consequentially has a maskNode present as it changes the initial
positioning behaviour of the boundingBox.

To avoid this, when the maskNode is shown, the dialogue is position at 0,0
in the current viewport. For centered dialogues, the dialogue is
automatically re-positioned after the window has shown. For non-centered
dialogues, the original position is stored and the dialogue is restored to
that position after it has been displayed.

This should not interfere with use of the align function as this will be
called later in the proceedings, after the show has run.
MDL-47545 web services: Allow cross origin requests
MDL-46853 calendar: fix import of no duration events
Merge branch 'wip_MDL-47795_master' of git://github.com/gjb2048/moodle