Implementation of SCARD_IOCTL_LOCATECARDSBYATRA & Modification to make Smartcard reader with PinPad work

@Vinche59 in the meantime I could simply uncomment the two sections that you put between #if 0, looking at the changes you did this would put the code back into a relatively safe state.