Pushed entitySerialization and collection scope so that a write only occurs if a repair is needed
Added a write of repaired entity.
Now doing bulk change logs and a single update call.
Updated tests to make sure they test the entity that is written.