update to using capnp compiler and remove the c library

The C library has been moved out into a seperate repo.
roundtripping schema.capnp through the compiler
shorten ToArray code with unsafe
add new and setter functions
add ReadType functions