MDL-39957 course: replaced the course_created legacy event
MDL-39957 course: added PHPUnit test for the new course_created event
MDL-39957 course: replaced the course_updated legacy event
MDL-39957 course: added PHPUnit test for the new course_updated event
MDL-39957 course: replaced the course_deleted legacy event
MDL-39957 course: added PHPUnit test for the new course_deleted event
MDL-39957 course: replaced the course_content_deleted legacy event
MDL-39957 course: added PHPUnit test for the new course_content_deleted event
MDL-39957 course: replaced the course_category_deleted legacy event
MDL-39957 course: added PHPUnit test for the new course_category_deleted event
MDL-39957 course: replaced the course_restored legacy event
MDL-39957 course: added PHPUnit test for the new course_restored event
MDL-39957 course: replaced add_to_log for course deletions