support time event for cocos2d-x
Improve time event for cocos2d-x.
Support time event feature for cocos2d for iPhone.