More work making the file formats and utilities private.
It's now isolated almost entirely to ostree-core.c, except ostree-repo.c needs to know how to create archive-z2 file headers. So give it a private API for that.