refactoring of \Pimf\Cache\Storages\Memory with unit-test + make PSR-2 happy