core: add support for set keyboard indicators PDU

Server Set Keyboard Indicators PDU MS-RDPBCGR 2.2.8.2.1

* add server side code
* add support for client callback
xfreerdp: add support for PlaySound

Using X keyboard bell.
Added lock key synchronization to wfreerdp
xfreerdp: add support to set keyboard indicators

* add generic function to check for X extensions
* detect x keyboard support
* add callbacks and client code to set/clear keyboard indicators
correct check for lzcnt cpu capability
Merge pull request #2138 from dpoe/master

correct check for lzcnt cpu capability
Merge pull request #2136 from bmiklautz/feat/kbd_indicators

Support for set keyboard indicators PDU
Merge pull request #2135 from erbth/wfreerdp

Added lock key synchronization to wfreerdp
wlfreerdp: initial Wayland client

Implement an initial Wayland client, which will build if
the wayland-client development libraries are detected
(or if -DWITH_WAYLAND:BOOL=ON is set). It is currently
view-only, but inputs will be implemented soon.

It uses the software SHM interface, which means it does not
require GL acceleration to run. It should be compatible
with any compositor

Signed-off-by: Manuel Bachmann <tarnyko@tarnyko.net>
Merge pull request #2145 from Tarnyko/wlfreerdp3

wlfreerdp: initial Wayland client
Merge branch 'master' of github.com:FreeRDP/FreeRDP