Move the logic that detects when a service is ready into BundleType
Allow the bundletype to specify the relation name the stub uses