(not ready) Implement CardTerminals.waitForChange and list(State).

In my testing (on Java 1.6 x64 OS X) using WaitForChange, I'm getting hang/crash in SCardGetStatusChange -> SharedReaderState_ReaderNameIsEqual -> strcmp
Fix segfaults caused by incorrect SCardReaderState (SCARD_READERSTATE) array element alignment.
Add more comments.
Update to upstream/waitForChange