issue #3403:Add the EventDispatcher lua binding and the releated test cases