fix: inject class into cubicweb.hooks.notification for backward compat
requested to merge topic/default/inject-class-into-cubicweb-hooks-notification-for-backward-compat into branch/default
This is only temporary but will allow us to move forward and it will be reverted in the future.