Fixed various memory leaks and resource deallocation problems.
fix per-device CAL licensing
(cherry picked from commit d6d0d81d08df4ee697ed4e8eb81264e95e1355df)
Extract shared code in RAIL channel

This patch starts a code mutualisation for a RAIL server-side
implementation. The file rail_common.c contains code that is shared
by both client and server.
fastpath: fixed sending of multiple input messages
cmd line: fixed description
cmd: fixed some compatibility messages

closes #1442
server: fix double demand active pdu during reactivation.
libfreerdp-codec/rfx: fix memory corruptions.
Merge pull request #1434 from akallabeth/memleak_fixes

Fixed various memory leaks and resource deallocation problems.
Merge pull request #1453 from bmiklautz/issue/773

fastpath: fixed sending of multiple input messages
Merge pull request #1444 from bmiklautz/master-stable-1.1-sync

fix per-device CAL licensing
Merge pull request #1447 from hardening/server-side-rail

Extract shared code in RAIL channel
Merge pull request #1454 from bmiklautz/issue/1442

Misc documentation fixes