issue #2087: Adding  new event dispatcher test and bug fixes.

New Test:

   1) RemoveListenerWhenDispatching
   2) CustomEventTest
   3) LabelKeyboardEventTest
   4) SpriteAccelerationEventTest