Added support for PC/SC reader interface
Fixed bug in length calculation of incoming data
Added mutex to ctccid interface
Fixed bug in PC/SC apdu transfer
Adjusted mutex handling for ctccid (global and reader specific mutex)
Modified code to compile on Windows OS
Fixed compiler warnings
pcsc: Refactored PC/SC interface