Extend to standard repository functions.

Operations supported: creation, cloning, branching, committing, pulling, merging
Define a statelessly synchable CRDT metadata format. Branches are now
inline, a single repo contains all branches for a user (globally).

Add tests and documentation.