service: Add __connman_service_string2type() function