Add --fix option to check-metadata
This allows the tool to correct the issues it identifies in the collection, generating a new consistent collection on output. Corrections include deleting items that are non-recoverable (e.g. files no longer exist), and cleaning up all orphaned objects.