Merge pull request #1 from distantcam/master

Template for version string
support for TFS checkout
fix VS Guid
extracting the code the resolves tokens to make it easier to test the token replacement
wrapping the use of Repository in a using statement
adding current-repo-aware tests for repo-dependent token replacements
adding the replacement tokens for %user%, %machine%, and %env[arg]% where arg is resolved as a lookup into the Environment Variables collection
Merge pull request #2 from davidalpert/tokens

adding replacement tokens for %user%, %machine%, and %env[arg]% where arg is resolved as a lookup into the Environment Variables collection
bump libgit
support for product version on win32
Fixed broken test