Enable local build caches

This will enable the ability to run build caches locally.

This is a slightly backwards incompatible change for build caches.
Now, build caches will automatically change into the git archive directory, or the base directory supplied.
There is a command directory that is used for both the hash and the build commands.