p/c filters should never cache

Made sure that any filter that wraps a p/c filter (has_child & has_parent) either directly or indirectly will never be cached by making CustomQueryWrappingFilter extend from NoCacheFilter.

This PR relies on #4768 otherwise the fix doesn't work.