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-47466 calendar: fixed error ORA-01795 in calendar_get_events
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-47793 assign: Reset reveal identities
MDL-45538 files: restore missing records in draft areas
MDL-46500 filepicker: prevent error when element does not exist
MDL-46500 mod_data: Removing duplicate filemanager initialisations
 MDL-35008 Lesson: url decode rules not applied to answers and responses
MDL-47990 qtype_multichoice: fix test response import/export
MDL-43430 enrol_ldap: Enrolment lost if member of group with parenthesis

As part of fixing MDL-43430, a typo has been detected in the
quoted alphanumeric characters (the '=' and '>' were transposed).
MDL-43430 enrol_ldap: Enrolment lost if member of group with parenthesis

The group names we get from ldap_find_user_groups() can contain invalid LDAP
filter characters. So we need to escape them for LDAP filter usage.
MDL-47966 Add default content type and encoding
MDL-45204 phpunit: Fixed test_localcachedir test

make_localcache_directory is the first call to make
localcache, which is already created by reset. So deleting
existing localcache directory will pass this test
MDL-47883 admin: Fix missing string in the plugin validation
MDL-47797 question preview: show more technical info

It is helpful for developers creating question types (at least) to be
able to see this.
MDL-47797 quesion preview: improve the behat script

Tests a few more buttons, and also verify more of the UI.
MDL-48008 gradeimport_xml: report errors usefully
MDL-48010 grade import from URL: don't corrupt the URL.
MDL-46262 availability: validation of fields without value

Thanks to Tomasz Pawlik | CKO USl for the patch