Adds support for dm deployed-instances <type>:<version>.
Adds support for dm deployed-instances <type>:<version>.

When you deploy with <type>:<version>, the type actually seen by DM is
the template URL. While the template URL still shows up as the type when
performing a "dm deployed-types", this at least lets you look for
instances of a known type.

Refactoring the type URL code in client a bit.

Refactoring getTypeUrl.

fibonacci1729/helm,adamreese/deployment-manager,flynnduism/helm,iamzhout/helm,vaikas-google/deployment-manager,bacongobbler/helm,migmartri/helm,adamreese/helm,bradj/helm,sushilkm/helm,jackgr/helm,jackgr/helm,vaikas-google/deployment-manager,michelleN/deployment-manager,gaocegege/deployment-manager,sparkprime/helm,sushilkm/helm,adamreese/helm,FengyunPan/helm,technosophos/k8s-helm,bacongobbler/helm,adamreese/deployment-manager,kdada/helm,qwangrepos/helm,technosophos/deployment-manager,technosophos/k8s-helm,SlickNik/helm,rbwsam/helm,SlickNik/helm,kdada/helm,iamzhout/helm,sparkprime/helm,thomastaylor312/helm,technosophos/deployment-manager,yan234280533/helm,appscode/helm,adamreese/deployment-manager,migmartri/helm,appscode/helm,helm/helm,fibonacci1729/helm,thomastaylor312/helm,flynnduism/helm,technosophos/deployment-manager,adamreese/deployment-manager,adamreese/deployment-manager,jackgr/helm,sparkprime/helm,jackgr/helm,helm/helm,sparkprime/helm,sparkprime/helm,technosophos/deployment-manager,gaocegege/deployment-manager,gaocegege/deployment-manager,jackgr/helm,jascott1/helm,qwangrepos/helm,eicnix/helm,eicnix/helm,yan234280533/helm,FengyunPan/helm,bradj/helm,rbwsam/helm,technosophos/deployment-manager,jascott1/helm,michelleN/deployment-manager,michelleN/deployment-manager,gaocegege/deployment-manager,michelleN/deployment-manager