Added versioning system

Added version option: this option prints the `git tags` based version, or if no git repo is available, the fixed version string defined in the script.

Having a version should be easier for users to debug their possible problems.