[ADD] remove associated activities and events when deleting tasks

Merged Javier Vescio requested to merge T1382 into main

Merge request reports