Fix dispatch filters that have regular string as a key

_attachFilters function in Displatcher class always assume that any filter with string as a key is always a valid class name.

Check class_exists before add key and value to settings and callable class

From #4613