Update ProcessManager to include state transitions. This fixes the problem where newly created aggregates cannot be referenced again in replayed state.
Update PMI to new ProcessManager interface and add some more tests.