MDL-47097 theme: Fixed issue with dd's sliding up
MDL-47033 general: Fix incorrect use of 'course' layout

It should use 'incourse' layout in most cases

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
MDL-47170 tiny_mce: Fixed display of bullets in rtl languages
MDL-46652 custom_menu: fix for multi-language support breaks menu nesting

Fixed bug by building full menu structure, then removing hidden menu items and all associated children.
Refactored custom_menu_item class and convert_text_to_menu_nodes() to improve maintenance.
MDL-46920 theme_bootstrapbase: fix dropdown to use data-target
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-46987 report_participation: Count duplicate logs as 1

Some of the actions generate more then 1 event.
Example: forum post create generate:
- post_created and
- accessible_uploaded
events which  gets logged at the same time.
Count them as 1 action and not 2, as it is
single action and report should show 1 and not 2
MDL-47358 gradereport_history: Display history even when there is no grader recorded
MDL-47316 mod_forum: Fix course overview performance

 make more efficient use of mod_info cache by processing courses
 sequentially.

Change-Id: I03b808c8a7efc42879ec2689fbd2a9fe7a8f1103
MDL-47252 mod_forum: Ensure guest users can't subscribe to discussions
MDL-39190 Javascript: Pop-up calendar days of week wrong

The YUI2 calendar widget (still used via 2in3) uses midnight as the time
component of its Date objects, which triggers a Safari bug resulting in
11pm Saturday being returned instead of midnight Sunday when subtracting
days to get the last few days of the previous month.  This shows up ONLY
on the month after DST begins, if DST begins on the last Sunday of a given
month (and the Calendar widget is set to Sunday as the first day of the
week).  The fix/workaround of using noon instead of midnight is employed
by YUI3 and others.
MDL-47195 core: Add PSR-0 Autoloader

This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.
MDL-47195 libraries: Add horde IMAP from Horde 5.2.1

This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.
MDL-46171 Assign: Add "latest" column + index to submission table.
MDL-46171 Assign: Update code so latest field on assign_submission table is always set correctly
MDL-46171 assign: And here is the benefit of the new column - simplify the SQL
MDL-46171 Assign: Always require a submission record if there is a grade

Also - update unit tests to match the new expectations.
MDL-46171 assign: Peer review cleanups

* Remove hardcoded table names
* Remove some code that was left in after debugging
* Add some comments about grades with no submission
* Set submission->latest to 0 on restore (it will get fixed later)
* Changed get_records_sql to get_recordset_sql in restore.