glfw EGLView set alloc on the stack to prevent memory leak
add term logic of application to prevent memory leak (for desktop such as linux, mac, windows)
Merge pull request #3691 from samuele3hu/developTest

Repair some lua test samples and modify handle_key_input function
Merge pull request #3690 from dabingnn/release30_bug_hot_fix

glfw EGLView alloc on the stack to prevent memory leak
issue #2087: Sorts listeners only when flag is dirty. setPriority is only valid in fixed priority listener.
Merge pull request #3692 from dumganhar/iss2087-new-event-dispatcher

issue #2087: Sorts listeners only when flag is dirty. setPriority is only valid in fixed priority listener.
issue #2087: Adding Event::setUserData and Event::getUserData, making some methods inline.
issue #2087: Updating the constructor of XXXEvent.
Merge pull request #3693 from dumganhar/iss2087-new-event-dispatcher

issue #2087: Adding Event::setUserData and Event::getUserData, making some methods inline.
rename test case to correct name
Merge pull request #3694 from dabingnn/release30_bug_hot_fix

rename test case to correct name
Make XXXEventListener as friend class of XXXEvent. Move the test of eventdispatchertest.
Merge pull request #3695 from dumganhar/iss2087-new-event-dispatcher

Make XXXEventListener as friend class of XXXEvent. Move the test of eventdispatchertest.