Created Event classes to replace add_to_log() - mod_scorm

MDL-40056 events: Created attempt_deleted event
MDL-40056 events: Created interactions_viewed event
MDL-40056 events: Created report_viewed event
MDL-40056 events: Created sco_launched event
MDL-40056 events: Created tracks_viewed event
MDL-40056 events: Created user_report_viewed event
MDL-40056 events: Created course module related events
MDL-40056 events: Add unit tests for new events
MDL-40056 events: Replace old add_to_log calls with new events