Add helpers methods
Add helpers methods

- git-describe is not going to fit anymore since pre-release metadata could
contain hyphens as well
- add helper to count the number of commits from the most recent and
reachable tag
- deduce maj, min and patch from the last tag rather than from git-describe

manuelbua/gitver,manuelbua/gitver,manuelbua/gitver