Hook improvements

I have made some improvements to manage hooks in back office.
I have added functional tests for hooks : changing position, changing activation of hooks, modules and modules hooks.
update 2.1.0-alpha2.sql file instead of this one