Updates to CMakeLists to include capnp/kj.
Adds proto serialization to Random class and adds prototest to validate it.