virttest.staging.service: Introduce a class named ServiceManagerFactory.