MDL-46155 core_component: functions to retrieve list of existing classes
MDL-46155 report_eventlist: use new core function to find classes list