Remove unused code

Don't need this after the replacement of p.makePkg with p.mockPackage.
Start integrating cache functionality into Package

Before we can load content from the cache, we need to have content in
the cache, so we start by writing content into files in the cache and
hardlinking (or symlinking if hardlinking fails) that file into where
the file content is needed.