[xwiki-notifications] [xwiki-contrib/cristal] 79413e: fix lint and code duplication + base of save code