Refs #21852, #21850, #21851 - Speedup charts images creation

- Speedup savepngchart, setthumb and cleanup_thumbs methods by replacing
  ObjectModifiedEvent with InvalidateCacheEvent from eea.cache