Always append '.git' to git clone urls.
Robust support for all git clone urls.
Addressed comments.
Move to the suggested code.
Merge pull request #1510 from dart-lang/git_clone_urls

Robust support for all git clone urls.