MDL-45636 course_rest: changed modcontext to coursecontext
MDL-47466 calendar: use get_in_or_equal() in function calendar_get_events to fix problem with ORA-01795
MDL-46531 editor_atto: Color plugins should use classes rather than hardcoded colours
MDL-47466 calendar: fixed error ORA-01795 in calendar_get_events
MDL-47806: Add footer function for command line output.
MDL-47777 assign: max files hard coded to setting

The current file submission is hard coded to a maximum of 20 files
possible.  While the user can choose a number less than 20, the maximum
is still set in code.  This converts the hard coded 20 to a site setting
defaulting to 20.
MDL-47902 mod_scorm: Inappropriate default values for SCORM 1.3 variables
MDL-36874 mod_book: Add uarrow() output renderer.

In preparation for Book navigation improvements in MDL-36874, this commit
adds a uarrow() output renderer, to complement rarrow() and larrow().
MDL-47930 mod_forum: Display all forum statuses correctly

It is possible for users with the mod/forum:managesubscriptions to
subscribe to forums with subscription disabled. This is handled by
forum_get_subscribe_link() already and should have been handled here all
along.
MDL-45538 files: restore missing records in draft areas
MDL-36874 mod_book: Add text navigation.

Based on a patch by Matthew Cannings, this replaces Book's previous/next arrow
image links with a choice of: no links, image links, or chapter title text links.
MDL-47793 assign: Reset reveal identities
MDL-47966 Add default content type and encoding
MDL-47390 mod_forum: Add discussion unsub to email footer
MDL-47903 mod_forum: Add discussion subscription time

This helps us to only send notifications for messages the user should have
already seen.
MDL-47903 mod_forum: Correct test fails related to caching and time

This adds a reset of the discussion and forum cache when running the mail
and maildigest tests.

These test fails were highlighted by the addition of new tests which
add similar post ids.
MDL-47207 mod_forum: Unifying criteria
MDL-46500 filepicker: prevent error when element does not exist
MDL-46500 mod_data: Removing duplicate filemanager initialisations
MDL-26447 gradebook: Default gradedisplaytype fixed for all locales