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-29873 Lesson: Essays not shown on grade page with SQL server
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-47569 backup: Escape section summary for XML

This was causing the parsing of the XML
to fail because things like & were not
escaped.
MDL-47569 backup: Do not close questions tag if never opened

This can happen when restoring quizzes that
do not have any questions.
MDL-47970 mod_scorm: fixed HTML5 validation error
MDL-45538 files: restore missing records in draft areas
MDL-46500 filepicker: prevent error when element does not exist
MDL-25057 mod_forum: Stop duplicating forum_read posts from cron

This also includes an upgrade script to delete the existing duplicates.
Merge branch 'MDL-29873_27' of git://github.com/jmvedrine/moodle into MOODLE_27_STABLE
MDL-46500 mod_data: Removing duplicate filemanager initialisations
Merge branch '47970-27' of git://github.com/samhemelryk/moodle into MOODLE_27_STABLE
Merge branch 'MDL-47569_CC_Errors27' of git://github.com/moodlerooms/moodle into MOODLE_27_STABLE
Merge branch 'MDL-25057-27' of git://github.com/andrewnicols/moodle into MOODLE_27_STABLE
 MDL-35008 Lesson: url decode rules not applied to answers and responses
MDL-47990 qtype_multichoice: fix test response import/export
MDL-42875 users: Show only profile visible roles on participants list