MDL-36579: Adding missing fields in mod/lti backup
MDL-36805 Correct docs for workshop_grade_item_update in mod_workshop

The documentation suggested that the modname field should be present on the
$workshop parameter when this is not required. It is not used in any point
in the function and the $workshop variable is never passed to another
function which may use it.
MDL-36916 quiz/questions: simplify code after MDL-36638.
MDL-36601 Ensure that reports remember all days setting

All Days was set as the nothing value, but this nothing value was used.
Additionally, an insufficient comparison meant that the selecteddate then
became Today.
MDL-36755 blocks: the course overview block can only be added to the My Moodle page so removing unnecessary addinstance cap
MDL-36942 xml question import: don't add spaces.

They are not necessary anyway, there is a \n character at the end of
each line.

Thanks to Richard Lobb for fining the problem and how to fix it.
MDL-36954 question bank: stop centring question name.

This was a regression caused by MDL-21625. These CSS changes
put the display back to how it was, while leaving the table
cell as a TD  for accessibility.
MDL-29805 add REQUIRE_CORRECT_ACCESS define + return error code when AJAX_SCRIPT fails
MDL-36110 - Blocks - Community finder icon alt attribute is now empty
MDL-36960 - fix broken horizontal positioning of titles for docked blocks
MDL-35979 - Commenting - Adding an empty alt attribute to the javascript generated delete icon for comments
MDL-36840 Set course.format to 'site' for site-course
MDL-36943 Do not notify about already installed updates

Before this patch, the available_update_checker::cron_notifications()
method accessed the availableupdates property. But for plugins, that property
basically contains the most recent version available. So we were missing
the check against the actual version installed.

The fix was simple - obtain available updates via the available_updates()
method that performs the check.
MDL-37003 Fix repeated line in update notification email

There was a problem experienced after 2.4.0 release because the version
of the 2.4.0 release was the same as 2.5dev release. So the version
value matched twice in the loop and the line was repeated in the email.
MDL-36341 calendar: fixed JS bug with popup node setter
MDL-36963 Improve mdeploy worker::move_directory() method

The additional parameter allows to use this method without actual
removing the root of the source location. That is, it is now possible to
move the content of a folder only.

Also, a small refactoring happened here as we will need a variant of
this method that does not throw exception if the target already exists.
MDL-36963 Improve mdeploy worker::remove_directory() method

The additional parameter allows to use this method without actual
removing the root of the path. That is, it is now possible to remove
the content of a folder only.
MDL-36963 Add unit tests for directory operations in mdeploy.php
MDL-36963 Do not attempt to remove the root folder of a plugin during the update deployment

There is no need to move the root folder of a plugin during the update
deployment. We just need to operate with its contents. So the web server
process can have the write access for the plugin folder only.
Merge branch 'MDL-36963-deployment-backup_24' of git://github.com/mudrd8mz/moodle into MOODLE_24_STABLE