cmake: add WITH_FREERDS option
Merge branch 'master' of github.com:FreeRDP/FreeRDP
libfreerdp-core: sanitize NSCodec capabilities
libfreerdp-core: fix server-side activated state
Call redraw only when region is invalidated

Added a condition to redraw a rect only when region is invalidated. For
example. this avoids a redraw when only the cursor changes on the
remote machine.
libfreerdp-core: treat GCC data block 0xC009 as CS_MULTITRANSPORT
libwinpr-thread: fix non-blocking internal pipe-based event on OS X
Merge branch 'master' of github.com:awakecoding/FreeRDP

Conflicts:
	winpr/libwinpr/thread/thread.c
libwinpr-clipboard: improve robustness
mfreerdp: fix thread stopping
channels/cliprdr: partially fix short format names
mfreerdp: fix cliprdr copy with Windows XP
Merge pull request #2220 from hopToDev/master

Call redraw only when region is invalidated
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Add server-side RDPEI

This patch mutualize code between client and server for RDPEI. And add support for
the server-side.
Merge pull request #2223 from awakecoding/master

Clipboard, OS X Threads, Lync RDP Server
Merge pull request #2224 from hardening/rdpei_server

Add server-side RDPEI
Merge branch 'master' into vdibox