Update CocoaPods to 0.31.1.
Read api_keys file the same way in all shell scripts.

Pioneered in testflight-upload.sh, and I kinda understand that process, unlike
whatever this stuff does.
Add "Profile" build configuration.

Instruments only runs on the device if signed with an iPhone Developer cert,
but we want it to otherwise be built the same as a beta release, so this build
configuration makes that happen.