EZP-21213: Refactored ImageStorage::deleteFieldData()

as well as ImageStorage\Gateway && Gateway\LegacyStorage