MDL-41039 - Events: Replace legacy events for quiz

Also includes observers for old handlers.
MDL-41039 - Events: Unit tests for new quiz events and observers.