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-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-47780 core: corrected docs for get_user_capability_course()
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-47676 core_grades: Negative positive weight combo working.

The combination of negative and positive weights was not normalising
properly.
MDL-47676 core_grades: Behat test for negative weights.
MDL-47778 tool_monitor: changes made to get_user_courses_select()

The changes -

1) Ensure courses exist before we loop to avoid PHP warning.
2) Checked that the number of courses to display do not exceed the max setting.
3) Used format_string() instead of format_text().
4) Used the course context instead of system context.
MDL-47866 gradereport_grader: Remove border radius from cells
MDL-47804 events: calendar_event_updated needs to accept a timestart == 0
MDL-47812 mod_lti: execute upgrade script for all DBs
MDL-47782 tool_monitor: Added context column on rule management page.
AMOS BEGIN
CPY [context,message],[context,tool_monitor]
AMOS END
Merge branch 'wip-MDL-47812-master2' of git://github.com/marinaglancy/moodle
Merge branch 'MDL-32616' of git://github.com/timhunt/moodle
Merge branch 'MDL-47713-master' of git://github.com/damyon/moodle