MDL-45764 mod_lti: Fix adding General Tool

This error only occurs when a ltisource
plugin is present that implements the
get_types callback.
MDL-38693 themes: amended z-indexes

Amended #dock z-index level from 11000 to 5000 across all themes; amended z-index style of #page-header in Overlay theme such that elements no longer occlude TinyMCE.
MDL-10115 User profile: Allow full list of courses to be viewed on a user's profile
MDL-45982: Implement displaying of non error messages from a provider.
MDL-45445 events: trivial changes
MDL-45445 events: added missing 'relateduserid' validation
MDL-45445 events: added missing 'other' validation
MDL-45445 events: documented the additional validation
MDL-45445 events: added '(optional)' to event params where applicable
MDL-10115 User profile: Use moodle_url and html_writer::link for course links on user profiles
MDL-45983 Atto equation editor: Various bugs when editing an existing equation

(And a behat test for it).
MDL-41258 Forum: Add additional unit tests for forum digest settings
MDL-45721 core_backup: only trigger the course_restored event when restoring a course
MDL-45652 core_backup: display warning on restore destination form when necessary data is missing
MDL-46038 repositories: added forgotten global
MDL-44124 libraries: Allow rrules with only one part during rrule validation checks
MDL-45933 Assign: Prevent fatal error when there are no users in the grading table
MDL-39883 events: Create a new api create_from_cm for module create event
MDL-39883 events: Trigger a module created event when duplicating a module
MDL-46046 atto_accessibilityhelper: Remove dead code from the plugin