MDL-45636 course_rest: changed modcontext to coursecontext
MDL-47806: Add footer function for command line output.
MDL-48006 Atto autosave: Never restore text that is empty.
Merge branch 'MDL-48006-master' of git://github.com/damyon/moodle
MDL-47810 tool_monitor: Updating behat scenarios introduced in MDL-47758
Merge branch 'MDL-45636-course_master' of https://github.com/eSrem/moodle
Merge branch 'MDL-47810_master-fix-MDL-47758-changes' of git://github.com/dmonllao/moodle
Merge branch 'MDL-47806' of github.com:mr-russ/moodle
MDL-47361 tool_monitor: added missing column

Also reworded a string as the fields have been renamed.
Moodle release 2.8rc1
MDL-47900 tool_monitor: created list of rules MUC
MDL-47900 tool_monitor: prevent unnecessary event insertions

With the introduction of the MUC we now check to see if a rule
exists for a particular event before we insert it.
MDL-47900 tool_monitor: altered unit tests so they pass

Also expanded on the unit tests to confirm that the unnecessary
events are not being stored in the DB.