MDL-38427 cache: implemented unit tests for all core cache stores
MDL-38247 cache: fixed cache stores so that they pass unit tests
MDL-38247 cache: Improved documentation