Support new serialization in eventstore
Fix getting element type instead of pointer
Adds tests for EventTypeRegister
Adds documentation to RegisterInstance
Reintroduce eventstore flag for tests