Updated to cocos2d v3

Updated to cocos2d v3.0