pb: add protobuf entry type

@bmizerany @unihorn 
Change struct to protobuf type
@bmizerany We have multiple data types for testing: `entryData`, `stateData` and `infoData`.
I think we can get rid of all these when we switch to protobuf encoding for record.