Added a utility library to read/write configs.

Fixes a bug where serializing protobufs was
not working, i.e. we were using API that is
appropriate only for the "-full" version of
protobuf. It's all fixed now though.

Change-Id: I3d7112ef9b9f69a9d09d566f28fcebd9ef63d268