MDL-39761: mod_assign: Always check submission plugin status and visibility.
MDL-33562 lib: remove private keys when user deleted
MDL-33562 lib: remove deleted user tokens
MDL-39865 navigation: 'Profile settings for ...' always displayed

Before this patch, 'Profile settings for X' would only be displayed
if X can access the course, which means that if the course is hidden
the node would be hidden as well. We changed this so that the user
needs to be enrolled in the course.
MDL-39865 navigation: Removed unaccessible repositories node

A user is not allowed to edit another user's repositories, in any
circumstances. The repositories node under 'Profile setting for X'
does not make sense under those conditions.
MDL-40036 user: Respect capability to ignore user quota
MDL-39825 badges: Remove badges from course navigation when course badges are disabled
MDL-40109 format_weeks: Removing extra space
MDL-40095 SCORM: Fixed DML error when saving with completion options locked

Regression caused by MDL-38315.
MDL-40095 SCORM: Trivial comments tidy up
MDL-39863 Administration: Show confirmation/notice and don't redirect automatically
MDL-30312 User: Changed page layout from mydashboard to mypublic in user/profile.php
MDL-21933 course: Allow users to search participants course permission

Capability checks are performed at the top of the page and do not need
to be completed again.

Search is an expected feature for users and it was confusion to only
appear after 3 pages.  This has been changed to enable search when
there are more records than are visible on the screen.  If users
are unable to use browser search, they will be able to use Moodle's
search.
MDL-39369: Lesson module: fix setType() properly
MDL-39369: Lesson module: change settype PARAM_TEXT to PARAM_NOTAGS
MDL-40165 Backup: Split out test classes into multiple files
MDL-40091 book: revision must be incremented after editing a chapter
MDL-28124 admin/tool/customlang: Changed page layout from 'standard' to 'report'.
MDL-40142 navigation: fixed chainable issue with navigation JS
MDL-40136 cache: fixed dirroot change bugs with plugin caches