Extending the temporary texture cache fix to sprite frame caching as well.
Merge branch 'develop-v3' of github:cocos2d/cocos2d-iphone into develop-v3