added a hook to add pim_* image-variations to pageimage-variation-collection

e.g. this is called before an original image gets deleted, so that all its variations gets deleted too.