updating version querying method and adding unit tests to verify for each different vcs
Merge pull request #83 from vcstools/tarversion_patch

updating version querying method