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