Fix Mutation event and don't use redis's KEYS command

This does two things:
* Adds treatment in client and server for initial events as regular events (and add server-side checks that make sure the initial mutation event comes before the regular mutation event)
* Refactors the redis event store to not use the keys command, as it's not recommended by redis to use in production. Instead, we keep a set of session ids.