Gets the service for the given type T, or returns null if there is no registered service for the given type T.
the service, or null if not present
the service type