Create registry cache

This creates a local cache of the registry, meaning that override and registry lookups don't need to be separate requests. This improves install time and also starts to open up offline installs more easily.