MDL-39846 implement new event dispatching and base event class
MDL-39846 sample conversion of role assignment events
MDL-39846 convert enrol_category to new events and class loader