Only wait for provisioning if agent is enabled. Remove low level OSGi APIs for waiting on FabricService and use DynamicReference instead.
[FABRIC-524] Fix mq distribution test.