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