Support deployments when generating configuration objects.
Added deployments to instance factory, so every instance can indicate (using a deployment.cfg file) in which deployments it is present