CCEventDispatcher crash fix
Fix possible crashes which could be caused by the EventDispatcher having listeners associated with nodes are destroyed. Catch the case where a node registers a listener while we are dispatching events and gets destroyed while that event is still being dispatched. Check the list of nodes to be added into the event dispatcher fully when we are cleaning listeners for a target node.

This issue was found using the extra debug verification in this pull request:
https://github.com/cocos2d/cocos2d-x/pull/6011
Add an event dispatcher test
Add an event dispatcher test to help reproduce crashes fixed by the previous commit and to verify that the fix still works.
Unregistered listener when it's removed from _toAddedListeners.
Merge pull request #6162 from dumganhar/pull/6160

Fixed a potential crash in EventDispatcher, based on PR #6160
Update AUTHORS [ci skip]
Update CHANGELOG [ci skip]
closed #4710: [win32] Crash in EventDispatcher if game starts up with mouse moving frequently
issue #4710: Fixed wrong indention.
closed #4711: [win32] Passing empty string to FileUtils::isFileExist may also return true
Merge pull request #6170 from dumganhar/iss4711-fileexist-win32

closed #4711: [win32] Passing empty string to FileUtils::isFileExist may also return true
Merge pull request #6169 from dumganhar/iss4710-eventdispatcher-crash

closed #4710: [win32] Crash in EventDispatcher if game starts up with mouse moving frequently