Track the last remapped keysym in m_currentRemapKeycode to enforce
a new computation of m_remapKeycode when the keyboard layout
changes.
(This fixes a potential problem with AddKeysym overwriting
 used keysyms after applying a new keyboard layout).
Better naming & actually save m_currentRemapKeysym.
Restore compatibility with old Qt versions.
Add transform key benchmark to TestKeys.
Merge branch 'AlbertWeichselbraun-bug-116-autotype-single-keycode'
Initialize cur_focus before it's used.
Check all modifiers before declaring the remap keycode invalid.

Sometimes XChangeKeyboardMapping() maps the keysym to a modifier.
Use the correct modifiers after remapping.

Sometimes the keysym is not mapped to the first column (no modifiers)
but to a diffferent column that needs modifiers.
Therefore we need re-read the table and search the whole row for the
correct keysym.