EZP-22836: implement legacy slots clearing object state cache
Merge pull request #854 from ezsystems/fix-EZP-22836-objectstate-legacy-cache

Fix EZP-22836: Cache not being cleared with object state creating