MAID-390-cereal_integration_common

Replacing protobuf with cereal in common and adding global helper functions to serialize.
All this looks good Spandan, my only comment is perhaps instead of cereal_branch we use the terms serialised_branch so basically replace proto_ with serialised_