MDL-44321 events: cleaning up course_module_viewed event
MDL-44321 events: corrected workshop event for viewing instances list
MDL-44321 events: debug on errors in add_record_snapshot()
MDL-44321 events: make sure the full object is passed to add_record_snapshot()