Move hook execution decision to HooksMaster
Move hook execution decision to HooksMaster

Currently, the HooksMaster creation and execution decision is in the
Processor class. This is not optimal, so we change to always create a
hooks master and instead make the decision inside that class, by
creating empty node lists for both pre and post if the lu doesn't
support hooks. This way, hooks decisions are moved to HooksMaster (where
they belong).

Reviewed-by: imsnah


yiannist/ganeti,bitemyapp/ganeti,leshchevds/ganeti,apyrgio/ganeti,apyrgio/ganeti,yiannist/ganeti,onponomarev/ganeti,andir/ganeti,bitemyapp/ganeti,andir/ganeti,ganeti/ganeti,mbakke/ganeti,andir/ganeti,ganeti-github-testing/ganeti-test-1,mbakke/ganeti,mbakke/ganeti,ganeti/ganeti,ganeti/ganeti,dimara/ganeti,dimara/ganeti,apyrgio/snf-ganeti,leshchevds/ganeti,apyrgio/snf-ganeti,ganeti-github-testing/ganeti-test-1,grnet/snf-ganeti,grnet/snf-ganeti,yiannist/ganeti,onponomarev/ganeti,leshchevds/ganeti