clone git/hg repository into COMPOSER_HOME and copy to avoid re-downloading
bring local repository up-to-date if it is missing the requested tag
can't use exit code here
Merge pull request #333 from fooman/install-from-cached-vcs

Install from cached vcs