Move system_get_module_admin_tasks() into a service and deprecate it