Rename OptimisticLockError to WrongVersionError.
Fix stream version checking bug in redis storage.

Change getEvents implementation to include the right-most event.