Merge pull request #1706 from awakecoding/master

Channel System Refactoring and WTSAPI Convergence
sfreerdp: updated to use latest WTSAPI
Merge pull request #1709 from bmiklautz/fix/sfreerdp

sfreerdp: updated to use latest WTSAPI
wfreerdp: build fix.
wfreerdp: fix export names.
wfreerdp: floatbar: minor cleanup.
wfreerdp: disable fullscreen toggle in fix size mode.
wfreerdp: fix screen crash when connecting to XP desktop with some resolution.
Improved Gateway error handling

* General improvements to reduce the case where something bad happens
  and RDP hangs around forever without closing.
* Specific error code improvement for CAP related login rejection.
fix "_settings->ClientTimeZone" initialization
fix filing array of "messages"

sizeof(sizeof(struct) * struct_count) == sizeof(size_t)
fix window_list_has_next()
fix "mcode" check in cliprdr_thread_func()

Priority of the '!=' is higher than '=' operator
libfreerdp-core/mcs: fixed protocol error+segfault

wrong channelcount pointer was referenced in the server
mcs attach user confirm pdu
Merge pull request #1722 from nfedera/fix-2014-03-05-01

libfreerdp-core/mcs: fixed protocol error+segfault
Merge pull request #1721 from maksqwe/client_fixes

fix "mcode" check in cliprdr_thread_func()
Merge pull request #1720 from maksqwe/small_fixes

libfreerdp: small fixes
Merge pull request #1711 from zhangzl2013/wfreerdp

wfreerdp run-time fix.
Merge pull request #1714 from dbungert/gateway

Improved Gateway error handling
Fix handling of "no CAPSET_TYPE_SURFACE_COMMANDS"

If CAPSET_TYPE_SURFACE_COMMANDS is not received the SurfaceCommandsEnabled and SurfaceFrameMarkerEnabled settings must be set to FALSE.