Automatically generate CFBundleVersion based on the number of commits.

See: http://tgoode.com/2014/06/05/sensible-way-increment-bundle-version-cfbundleversion-xcode/