The registry code has been moved into the new registry package. Remove the duplicated code and use the new registry and registry/test packages.
Add GetModule for the cli to initialize from a regisry module source. Storage.GetModule fetches a module using the same detection and discovery as used by the normal module loading. The final copy is still done by module.GetCopy to remove vcs files.