added -v and --version cmd line parameter

use this as a test for the homebrew formula
[skip ci]