MDL-45636 course_rest: changed modcontext to coursecontext
MDL-47806: Add footer function for command line output.
MDL-45538 files: restore missing records in draft areas
MDL-47966 Add default content type and encoding
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-26447 gradebook: Default gradedisplaytype fixed for all locales
MDL-47963 quiz editing: block ajax edits once there are attempts
MDL-47987 mod_forum: Users subscribe to discussions not forums

Correct language string which describes users subscribing to a discussion,
and use it when subscribing on post.
MDL-47864 grade_report: Edulevels according to default user permissions
MDL-47864 tool_monitor: Change edulevels

Considering that the most common use case
to manage rules is an admin CRUDing them.
MDL-47892 tool_monitor: disable plugin and event fields if theres subscriptions for the rule
MDL-47892 tool_monitor: add count_rule_subscriptions method and unit tests
MDL-47976 tool_monitor: fix ordering in unittest
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-47758 tool_monitor: prevent DB error when revisiting a delete URL
MDL-47758 tool_monitor: altered behat tests so they pass
MDL-47883 admin: Fix missing string in the plugin validation
Merge branch 'MDL-47963' of git://github.com/timhunt/moodle