[dispatcher] Updating the declare of event listeners in Layer. Using more specified type.
[dispatcher] Defines TOUCH_PERF_DEBUG to enable setting touches in TouchEvent.
[dispatcher] Adding TouchEvent dispatch test.