Now storing established context and using it for messages without
provided context.
Refactored, now using cached handles, if the context or card handles
are NULL.
Removed printf.
Fixed a command line handling bug crashing the client.
Fixed invalid preprocessor check.
Resource clean up unified in functions to avoid accidental leaks.
Fixed accidental double free by realloc.
Fixed length check against wrong variable.
channels/smartcard: fix crash and get rid of svc_plugin usage
Merge branch 'smartcard_context_fix' of https://github.com/akallabeth/FreeRDP into smartcard
channels/smartcard: code style cleanup
Merge branch 'master' of github.com:awakecoding/FreeRDP into smartcard
channels/smartcard: refactor usage of lists and get rid of workarounds
Merge branch 'master' of github.com:awakecoding/FreeRDP into smartcard

Conflicts:
	channels/smartcard/client/smartcard_main.c
libwinpr-smartcard: initial stubs
libwinpr-smartcard: dynamically load pcsclite
channels/smartcard: migrate code to libwinpr-smartcard
channels/smartcard: refactoring
channels/smartcard: add clean definitions of packed data structures and RDP smartcard IOCTLs
channels/smartcard: improve parsing