WIP
Simple filtering
Adds tests for pattern parameters
Removes regex from pattern parameters

It has issues with unicode vs bytes, since regex only match one of
these.
Merge branch 'list-filters' into 'master'