MDL-39957 course: added PHPUnit assertions for when a course_updated event is triggered by moving a course
MDL-39957 course: replaced add_to_log for hiding/showing courses