Patches based on crew as of this monrning. Add the ability to clone to a remote repository, creating the remote in the process. Passes all tests except the version test in test-globalopts, but I don't see how that could ever pass. More detail in the patches themselves.