Update build script to set version number

Update the build script to set both the version number and build number based upon the master branch inside the release build's info.plist.

XCode Project Settings/XCode Info.plist is not affected to prevent commit-cycle.