Changes from iOS 7 beta 2 SDK.
Merge branch 'iOS7' of https://github.com/weiran/Hackers
More changes.