Fix bug of endless loop in notifications procedure
Make that there is a single notification per recipient set
Show resource ids in the subject of the notification
Fix the resource_type stuff
Minor issue
Sort resource instances
Centralize all the checkers so duplicated checkers are not executed multiple times