EZP-21213: Implemented FieldType storage event for Image

Uses the SPI's PostPublishFieldStorageEvent to rename
images in a draft to their published name.
EZP-21213: Fixed a bug in Image Legacy Gateway
EZP-21213: Adapted ImageStorage to Event changes

[ci skip]
EZP-21213: Cleaned up refactoring code