miq_ujs_bindings - unify attemptAutoRefreshTrigger
miq_ujs_bindings - unify attemptAutoRefreshTrigger

replaced all 3 places where this function is defined by one higher-order function
(transferred from ManageIQ/manageiq@55516d49e4f495255670a6ef4a4e67f065e2126e)

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic