added -v and --version cmd line parameter

use this as a test for the homebrew formula
[skip ci]
Merge pull request #8 from chrmoritz/master

added -v and --version cmd line parameter [skip ci]