Generalise way for doing stuff with all imported objects
Currently, we support to add all imported persons to a specific group or all imported groups to a specific group type. This is done by special fields on the
ImportTemplate model. This should be generalised to work with all kinds of models.