Make TypeFilter and NotTypeFilter have a Path as a subcomponent.

This changes Filters to have a Path as a subcomponent instead of having
the list of Path-Elems and name-ref/c separately. This is part of the
rework to have better object support.