Cleaner DBus::parseAgentServiceName() API
Return an optional struct of name and type, instead of returning a possibly empty QString, and taking type enum as a non-const reference.