Fixed bug #116 - certain characters not working with de keyboard layout
Use XKeysymToKeycode together with XkbTranslateKeyCode for translating KeySyms to the corresponding keycode and modifier sequences.
Merge branch 'bug-116-autotype-new' into bug-116-autotype
Cleanup: use break rather than nested if/else constructs.
Use a dedicated keycode for keys that require another modifier than shift.
Merge commit '755241df5c' into bug-116-autotype-single-keycode
Significantly reduce the number of re-mappings required by

 a) dynamically fetching the modifier masks for Mod1 to Mod5 (Alt, AltGr, Meta,
    etc.)

 b) integrating commit bfec222 from Felix Geyer <debfx@fobos.de> which creates a
    unicode -> x11 keysym mapping table by parsing keysymdefs.h.

    This avoids adding new keysyms because keyboard layouts seem to prefer the
    lower keysyms over unicode | 0x01000000 mapping.
    An example of this is the euro sign with a German keyboard layout.
Merge branch 'bug-116-autotype-single-keycode' of github.com:AlbertWeichselbraun/keepassx

https://github.com/keepassx/keepassx/pull/32

Closes #116
Use nanosleep() instead of the deprecated usleep().
Add some error handling in case we can't remap a key.
Make sure the remapping keycode is reset to NoSymbol.

Previously the dtor of AutoTypePlatformX11 wasn't called.