Add ability to reset director singleton so unit tests can be repeatable without leaking state
Add ability to reset director singleton so unit tests can be repeatable without leaking state


Former-commit-id: e3c7d3c494f91c6d938268cf6e272ae7c9f089d4
cogddo/cocos2d-objc,codepython/cocos2d-objc,nader-eloshaiker/cocos2d-objc,seem-sky/cocos2d-swift,tambarskjelve/cocos2d-objc,nader-eloshaiker/cocos2d-objc,liduanw/cocos2d-objc,dnessorga/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,oxeron/cocos2d-objc,finthamoussu/cocos2d-objc,nader-eloshaiker/cocos2d-objc,cogddo/cocos2d-objc,seem-sky/cocos2d-swift,yaoxiaoyong/cocos2d-objc,codepython/cocos2d-objc,DNESS/cocos2d-objc,knight2010/cocos2d-objc,finthamoussu/cocos2d-objc,zaneLou/cocos2d-objc,lpeancovschi/cocos2d-objc,SuPair/cocos2d-objc,knight2010/cocos2d-objc,tambarskjelve/cocos2d-objc,zaneLou/cocos2d-objc,savysoda/cocos2d-objc,yaoxiaoyong/cocos2d-objc,jason-puck/cocos2d-iphone,tambarskjelve/cocos2d-objc,DNESS/cocos2d-objc,SuPair/cocos2d-objc,cogddo/cocos2d-objc,richardgroves/cocos2d-iphone,TukekeSoft/cocos2d-spritebuilder,seem-sky/cocos2d-swift,SuPair/cocos2d-objc,richardgroves/cocos2d-iphone,tambarskjelve/cocos2d-objc,DNESS/cocos2d-objc,lpeancovschi/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,codepython/cocos2d-objc,yaoxiaoyong/cocos2d-objc,nader-eloshaiker/cocos2d-objc,liduanw/cocos2d-objc,SuPair/cocos2d-objc,savysoda/cocos2d-objc,lpeancovschi/cocos2d-objc,knight2010/cocos2d-objc,DNESS/cocos2d-objc,liduanw/cocos2d-objc,lpeancovschi/cocos2d-objc,savysoda/cocos2d-objc,jason-puck/cocos2d-iphone,dnessorga/cocos2d-objc,SuPair/cocos2d-objc,finthamoussu/cocos2d-objc,dnessorga/cocos2d-objc,yaoxiaoyong/cocos2d-objc,codepython/cocos2d-objc,DNESS/cocos2d-objc,liduanw/cocos2d-objc,zaneLou/cocos2d-objc,savysoda/cocos2d-objc,oxeron/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,seem-sky/cocos2d-swift,zaneLou/cocos2d-objc,finthamoussu/cocos2d-objc,cogddo/cocos2d-objc,knight2010/cocos2d-objc,richardgroves/cocos2d-iphone,cocos2d/cocos2d-objc,liduanw/cocos2d-objc,dnessorga/cocos2d-objc,dnessorga/cocos2d-objc,cocos2d/cocos2d-objc,yaoxiaoyong/cocos2d-objc,tambarskjelve/cocos2d-objc,jason-puck/cocos2d-iphone