SmartCard

* Check for NULL parameters in PCSC_ConvertReaderNameToWinSCard (Issue #2184)
* Remove masking of dwEventState as it is not needed under Linux and MacOSX and it helps in ThinLinc environment
* Workaround for Mac OS X Yosemite (10.10) SCardStatus Bug (Issue #2184)
* Since Mac OS Tiger (10.5.6), Apple introduced new function for SCardControl calls named SCardControl132(), the old SCardControl doesn't work (cf. https://opensource.apple.com/source/SmartCardServices/SmartCardServices-55111/src/PCSC/winscard_clnt.c)

Tested successfully in Linux, Mac OS X and ThinLinc environment.
There is still a bug under Mac OS X Yosemite (10.10) with SCardGetAttrib calls. Apple is aware of this problem (and also for the SCardStatus bug) but no ETA for a patch.