Adds support for screen orientation in cocos2d setup method 
Merge branch 'develop-v3' of https://github.com/cocos2d/cocos2d-iphone into develop-v3