remove duplicate code
some intermediate code
packer implementation: recreate a .git directory from metagit/
add main routine, handling some verbs:

 * meta-pack: generate .git directory from metagit directory
 * meta-unpack: generate metagit directory from .git directory
 * meta-addparent: adds a parent to a commit in the metagit directory