add handler for -v and --version argv
Merge pull request #9 from alsotang/version

add handler for -v and --version argv