MDL-40220 use new core_component::get_plugin_types()
MDL-40220 use new core_component::get_plugin_list()
MDL-40220 use new core_component::get_plugin_list_with_class()
MDL-40220 use new core_component::get_plugin_directory()
MDL-40220 use new core_component::normalize_component()
MDL-40220 use new core_component::get_component_directory()
MDL-40220 improve lib/upgrade.txt info for the new core_component class and deprecated functions