fixes #1353 added custom hook when host build mode changes
see http://theforeman.org/projects/foreman/wiki/Custom_Hooks_in_Plugin
fixes #1353 added custom hook when host build mode changes
see http://theforeman.org/projects/foreman/wiki/Custom_Hooks_in_Plugin