MDL-40921 mod_workshop: Unit tests for new events system.
MDL-40921 mod_workshop: New events to replace add_to_log function calls.