issue #2087: Adding CustomEvent and CustomEventListener classes. Make Event and EventListener as abstract classes.
issue #2087: Fixing crash of ComponentTest.
issue #2087: Should not use fixed priority with 0 value, it's for scene graph based priority.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2087-new-event-dispatcher
issue #2087: Setting default touch priority to -1 for CCInputDelegate
issue #2087: Adding customevent and CustomEventListener to VS project.
Merge branch 'iss2087-new-event-dispatcher' of z:/Project/cocos2d-x into iss2087-new-event-dispatcher
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]
issue #2087: [EventDispatcher] Fixing crash on Win32.
Merge pull request #3705 from dumganhar/iss2087-new-event-dispatcher

issue #2087: [EventDispatcher] Fixing crash on Win32.
Merge pull request #3708 from dumganhar/iss2087-new-event-dispatcher

issue #2087: Fixing NewEventDispatcherTest --> SpriteAccelerationEventTest crash.
issue #2087: Fixing NewEventDispatcherTest --> SpriteAccelerationEventTest crash.
Fixing SchedulerTest crash. We need to invoke parent's onExit in subclass::onExit.
Updating MutiTouchTest.cpp. Adding title. Removing unused codes.
Merge pull request #3709 from dumganhar/iss2087-new-event-dispatcher

Fixing SchedulerTest crash. We need to invoke parent's onExit in subclass::onExit.
restore AccelerometerTest
Merge pull request #3706 from ricardoquesada/cpp_best_practices

Small fixes to comply with C++ best practices
Merge pull request #3710 from Dhilan007/develop

restore AccelerometerTest
Making cc.registerTargetDelegate and cc.registerStandardDelegate compatible with Cocos2d-html5.
Merge pull request #3712 from dumganhar/register-touch

Making cc.registerTargetDelegate and cc.registerStandardDelegate compatible with Cocos2d-html5.