Full string versions

To generate version strings with timestamp and commit hash, the version numbers need to be x.x.x-SNAPSHOT or x.x.x.qualifier.

The first commit add back the suffixes which were removed in  4246849149672a4a6c3eea8ef459366a3aa01196.

The second one tweaks further the build script.