XD-1504: Avoid duplication when loading streams for deployment

Introduced class DeploymentLoader to handle the loading of
streams and jobs for deployment. It also includes the loading
of deployment metadata.

Eventually this should be merged with the various ZooKeeper
implementations that work the same. For now this was created
to eliminate duplication between ContainerListener,
JobDeploymentListener, and StreamDeploymentListener.