Make images refreshable programatically.

Images on an attachment object can now be refreshed programatically.
This moves the responsibility of refreshing the images away from the
ImageRefreshService so the the method can now be called directly on an
attachment.