Typed cerealization and de-cerialization.

Look after merging in https://github.com/KnowSheet/Bricks/pull/17

Thanks,
Dima
I meant cerealize/test_event_base.h should be in test/test_event_base.h or in example/test_event_base.h