Refactoring: Add a base class for filters

That way we can get rid of a lot of empty methods in filter implementations.
Additionally, it becomes easier to see in refactoring tools which class
actually overrides which filter method.

Btw, there's a lot of filters already :)