made errorhandling in mifare-classic reachable
improved winscard.h handling for apple