Also fix a problem with bin/cache-prune and FileCache and its enable_purge option
* refactor: introduce DI container * add bin/test