Refs #20. Improve key code transforming and validation.

- Introduce new method that encapsulate all keycode/key equivalent comparison
- Take into account modifier flags
- Separate logic of Explicit and Implicit modifier flags
Refs #15. Fix mouseDown and mouseUp events are mistakenly forwarded to the next responder even when handled.

This caused problems in view-based Table Views.