Qt: implemented getKeyState for caps lock and numlock under x11 and win32 targets


git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40764 4005530d-fff6-0310-9dd1-cebe43e6787f
Qt: included xkblib after codetools fix in r40762


git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40765 4005530d-fff6-0310-9dd1-cebe43e6787f