Added entitlements support

Extract entitlements from the original IPA and add them to the new IPA
during codesign