Remove redundant code.

Remove helpless test cases.  Remove useless logging.  Add proper package
headers.
Create Qwerty to Dvorak events mapping.

Older we use vectors of some content as minimal necessary data
structure.  Now raw events (integer representation) used to process any
kind of layout translation.