cubicweb #17250975 merge ldutils [in-progress]

see https://bitbucket.org/laurentw/logilab-cube-ldutils/src/default/cubicweb_ldutils/hooks.py and WIP cset from nico at https://hg.logilab.org/users/nchauvat/cubicweb/rev/d868edb560f7

priorityimportant
typeenhancement
done in<not specified>
closed by<not specified>