version.h: If there are no revisions (i.e. a stable) only mention the version number and the hash.
version.h: Use dashes between the version number and the revision.

This is closer to the git describe scheme and further seperates the revision number from the version number.