Improve versioning

1) Update version after cloning repository.
2) Detect previous version from gitTag.
3) Remove use of deprecated function makeVersion.
4) Use local version specific archive if available when creating package.
It was tested. The problem crept in when I used the web interface to post. I couldn't simply copy and paste so ended up typing from scratch.