Add a function to get the latest git tag.

I have been using this approach in all my paver projects.
It's very useful for getting the latest git tag and using as package version.