cubicweb #344900 refactor hooks management [resolved]

register hooks in a specific registry and use the standard registration / selection process.

prioritynormal
typeenhancement
done in3.6.0
load2.000
load left0.000
closed by<not specified>