Project: moodle
Issue MDL-46132: Event monitor: Implement the event observer
Implement an event observer that populates tool_monitor_events, as needed
Story points: 40