winpr: check added if handle is NULL
Revert "Updating common API"

This reverts commit 85a4eb2996d25ccd659861d0ab916151484ad383.
xfreerdp: add rdpClientContext common section
Merge git://github.com/awakecoding/FreeRDP

Updated from master branch
Refactoring - mac platform
libwinpr-utils: start implementing Publisher/Subscriber pattern
xfreerdp-client: fixed pan gesture
libwinpr-utils: implement basic Publisher/Subscriber pattern
xfreerdp: rename xf_interface.h to xf_client.h
libfreerdp-client: start splitting termination and printing logic for CLI parsing
freerdp: start using pubSub for client GUI events
freerdp: remove temporary rdpClient* interface and replace with pubSub hooks
libwinpr-utils: add PubSub multiplexing and synchronized access
wfreerdp: update client with new API
wfreerdp: fix basic connectivity
build: use uppercase XRENDER_FOUND

FIND_PACKAGE_HANDLE_STANDARD_ARGS sets <UPPERCASED_NAME>_FOUND
build: changed X11_FEATURE_TYPE to optional on osX

If X11_FEATURE_TYPE is disables on mac xfreerdp can't be build properly.
Setting it to optional allows to enable X11 builds with -DWITH_X11
Merge git://github.com/awakecoding/FreeRDP

Latest updates from master branch (PubSub)
1) Add support for Wildcard Certificates
2) For Gateway connections compare against gateway host name instead of target host
Using the more efficient code for comparing host names