[WIP] Update iOS build scripts to work with iOS 7, Xcode 5

While maintaining Xcode 4.6/10.7 compatibility.

Continuation of https://github.com/libgit2/objective-git/pull/260