Merged persistence with improved multi instance support
While trying to locate an issue that seems to actually be caused by Chrome, I made some improvements to the publishing of Snapshots.
The main change is that the serializer only has to serialize the object once. It then writes this to all the browser windows at the same time.
This saves the system from having to serialize the same object multiple times.
Merge branch 'improved-multi-client-support' into multi-instance-persistent