catfile: Support repositories with SHA256 object hashes
This MR refactors tests in the catfile package to be hash-agnostic and starts to support the SHA256 object format.
This MR refactors tests in the catfile package to be hash-agnostic and starts to support the SHA256 object format.