Added Plugin Type All for a plugin to trigger at all states.
Added ability to pass trigger type to plugin, usefull for "All" Plugin Type.