Use a namespaced cache store

The settings cache store needs to be namespaced by application (folder
root) and environment, otherwise all sorts of collisions occur.