Fixed smartcard argument checks.
Fixed smartcard package reading.
Added debug output, if some message block could not be read.
Debug printf now more verbose about location of the error.
Resource cleanup now done using goto
Length now checked at all places.
Now printing debug message for unhandled data.
Fixed setting of smartcard filter name and path.
Fixed setting of name and path of smartcard, now determining on number
of valid arguments.
Smartcard arguments now optional.
Fixed reading of SCARD_IO_REQUEST structures in Transmit_Call.
Fixed compile error.
Fixed clang warnings.
Dumping stream now.
Fixed length check, now just assuring data read is available and
ignoring padding length.
Replaced linkedLen, which is a padded version of the buffer length
from being used for reading from a packet. Now just used for sanity checks.
Merge branch 'smartcard_fixes' of github.com:akallabeth/FreeRDP into smartcard_fixes

Conflicts:
	channels/smartcard/client/smartcard_operations.c
Merge pull request #1509 from akallabeth/smartcard_fixes

Smartcard fixes