Add support for repacking an entire schema

This adds the option -c (--schema).