Finish doc comments for ecapnp_ref.
Split record definitions from type specs.
Refactor schema records.