add hook type functions ref_array

Adds hook type functions do_action_ref_array and apply_filters_ref_array to signature. Fixes actions being shown as filters