fs: history: clean sharded dir implementation
- Remove manual direntry cache manipulation
- Remove unnecessary by-hash/ sharding depth attribute
- More extensive unit testing for by-date/
Migrated from D4509 (view on Phabricator)
Staging instance, all changes can be removed at any time
Migrated from D4509 (view on Phabricator)