Merge pull request #3704 from dumganhar/iss2087-new-event-dispatcher

issue #2087: Adding CustomEvent and CustomEventListener and bug fix for CCInputDelegate in Extension.[ci skip]
Merge pull request #3705 from dumganhar/iss2087-new-event-dispatcher

issue #2087: [EventDispatcher] Fixing crash on Win32.
issue #2087: Fixing NewEventDispatcherTest --> SpriteAccelerationEventTest crash.