catfile: Drop global variable
This MR refactors the catfile package to not use a global cache variable anymore. Instead, the catfile cache now gets injected into all services and into the localrepo package.
This MR refactors the catfile package to not use a global cache variable anymore. Instead, the catfile cache now gets injected into all services and into the localrepo package.