Add script to generate CFBundleVersion. Uses revision number + 1000. Would correspond to old SVN build numbers except for removed wiki edits hence the addition of 1000.
Updated gitignore again to get rid of xcuserstate.