StampedLock: Add optimistic write path.
StampedLock: transition tests.