[HooksManager] Fix whitelisted plugins hooks not fired

We're incorrectly comparing the hook name instead of the plugin name in
the whitelist
[HooksManager] Change order of arguments for register

“Register slather for post install” vs “Register for post install
slather”