service-management: add service_management_get_type() function to determine the type of the currently used service management.