Tweaks version numbers for Tycho

Tycho needs the version numbers to be x.x.x-SNAPSHOT or x.x.x.qualifier to
automatically add timestamp and hash information.
Sets right version tag.

The default is 'local', what is not right.
Also made the script fails at any error.
Merge pull request #13 from skyluc/full-string-versions

Full string versions