[JIRA] (OVIRT-1360) [gerrit hooks] unify all functions from the hooks into hooks_functions file