Bugfix/612 notification

this code comes from a old pull request maked by @vecna against master.

@vecna, @hellais from now on i propose this rules:
- please do only pr against 'devel' branch
- each pull must have his own branch with a specific topic dedicated.
- please never add mixed patches inside a single pull as it makes difficult to review, re-tested and integrate it with safety.
- probably as we are in strong production from now on we need to do two review and then integrate it and never bypass this rule if there is no imminent condition to do it. what do you think?

by the way @vecna, is this pr ready to be reviewed and tested for integration in devel?