MDL-39883 events: Create a new api create_from_cm for module create event
MDL-39883 events: Trigger a module created event when duplicating a module