Remove event controller codes from Layer class. HelloCpp works.
Adding onEnterHook, onXXXHook for Node.
Refactor event dispatcher. Remove non-node relative member variables.
Event Dispatcher refactor commit. TestCpp could run.
Use eventDispatcher to dispatch event. Remove controller codes in Layer.
bug fix in EventDispatcher.
Update menu test.
Updating jsb.
fix crash.
bug fix for EventDispatcher.
crash and memory leak fix.
bug fix for eventdispatcher.
memoryleak fix.
Small fix for Bug-422.cpp and MenuTest.cpp.
Update physicsTest.
PhysicsTest update.
disable DUMP_LISTENER_ITEM_PRIORITY_INFO. use std::unordered_map instead of std::map.
Use integer as event type and listener type.
[Dispatcher] Removing unused codes.
[Dispatcher] Removing unused codes in Layer.