MDL-41466 theme_formal_white: moved courses action icons once again on the right
MDL-41466 theme_formal_white: added missing ending new line
MDL-41595 mod_book: Book mod does not add TOC to default region
MDL-41571 move forced_choices_selection_strategy

out of question/engine/tests/helpers.php to
question/engine/lib.php
MDL-41540 remove use of $USER

by quiz_create_attempt internally.
MDL-37148 Assignment: Lots more webservices

This patch adds lots of webservices to the assignment module.
* mod_assign_revert_submissions_to_draft
* mod_assign_lock_submissions
* mod_assign_unlock_submissions
* mod_assign_save_submission
* mod_assign_submit_for_grading
* mod_assign_save_grade
* mod_assign_save_user_extensions
* mod_assign_reveal_identities
* mod_assign_copy_previous_attempt

All features such as reopening attempts and marking workflow are supported through
the save_grade and save_submission functions.

Uploading files is supported by sending draft item ids for the files_filemanager param the same functions.
MDL-37148 assign: codechecker cleanups
MDL-37148 assign: Fix all phpdocs warnings from moodlecheck (except tests)
MDL-41667 quiz: Fix CSS rules.

Thanks to Renaat Debleu for spotting this problem.
MDL-38317 grade import: Translation support for import mappings form.
MDL-41572 pass through question behaviour vars with correct prefix

Through prepare_simulated_post_data. Also includes unit tests for
multiple attempts and tries.
MDL-38489 SCORM: added check for course display format
MDL-38489 SCORM: use course_get_format to obtain info
MDL-37148 assign: Fix missing parameter for submit_for_grading webservice.

It is required to specify if the user has accepted the submission statement
to make sure it goes in the log/event.
 MDL-39959 events: Add course module events

Added event course_module_created
Added event course_module_updated
Added event course_module_deleted
MDL-39959 events: Add unit tests for course module events

test_course_module_created_event()
test_course_module_created_event_exceptions()
test_course_module_updated_event()
test_course_module_updated_event_exceptions()
test_course_module_deleted_event()
test_course_module_deleted_event_exceptions()
MDL-39959 events: Replace add_to_log() calls with events for course module actions (create, delete and update)
MDL-41612 scorm: fix heading levels
MDL-41715 Increase size of char fiels in user table
MDL-41817 Backup/restore without blocks gives error

Also applies to various other situations where backup includes 0 of
something. This was caused by a problem in the progress-tracking code.