Go back to pre-merge Index Committer and Writer

This fixes a number of long running tests around idempotency and explicit
transactions. It would be good to include these changes again in future so
that the Event ID idempotency cache still survives restarts.