Build: add ability to sign with ad-hoc cert and output ipa file

- build.sh codesigns igcs  xcarchive with the igcs
  ad-hoc cert and creates and ipa file. The results
  are put in the build directory.

- Update gitignore

- Add MIT license to build.sh