Support .socket and .target for systemctl

If a service name ends with .service, .socket, or .target, do not
automatically add ".service" to the end when calling systemctl.
This change allows users to manage sockets and targets using systemctl.