Insert a commit object
This will add a commit as well as the completed referenced tree.
The packbuilder
The oid of the commit
0 or an error code