Fixed some issues with the cache, added hooks to disable cache and redis store

Fixes https://github.com/Contegix/cloudykangaroo/issues/69