Fixes for iOS7 and Xcode5

Fixes for iOS 7 and Xcode 5.
The main fix is in CCImage.cpp. If not applied, labels won't render correctly on iOS7.