Support element deletion through queryset
Followup of !1059 (merged)
We need to be able to efficiently delete list of elements, such as :
- all elements with type X (and their children)
- all selected elements (and their children) from corpus X
- basically any queryset from
Element
This is a generalisation on top of the new deletion method with raw SQL.
Edited by Bastien Abadie