Get version from Git

Also set CFBundleVersion to number of commits in current branch, which follows
Apple rules that this version should be incrementing numeric value.

This makes whole deployment process easier, than just changing `Info.plist` manually.