Mirror `npm version` format for git tags

See https://github.com/bower/bower/pull/961#issuecomment-33981712 and  https://github.com/bower/bower/pull/961#issuecomment-35591108 for more context.
Merge pull request #1278 from jfsiii/patch-1

Mirror `npm version` format for git tags