Added locking to rebaser, baseline consolidator, and the save monitor. They now lock the event store context to perform atomic operations, where necessary.
This was motivated by a case where a new object was lost on the saving device. There were a lot of rebases occurring on each device, and it seems possible that a race condition could have occurred between the save monitor creating a new event, and the rebaser absorbing that event.