Some performance tweaks

Generator persists all records in one transaction, instead of separate
per item.
New field is added that tracks when photo was updated on the record.
Image widget is configured to send this date along with record id when
fetching photos.
This allows for caching, which was disabled previously.