added contains/containsnot conditional output filter

It seems not to be possible to write own conditonal output filter as snippet, so I would like to add them to the core.