Configurable notifications.

+ Allow default notification templates and overrides per-rule for notifications
  for both adding and removing relationships
+ Code tidy-up