Move image deletion task to image module

DeleteImage task can be used in different flows where temp images are created.