Improve search filtering code.
Improve search filtering code.

Includes: avoid weird string concatenations, use unicode and allow
defining 'and' and 'or' style filtering.

julen/tzos,julen/tzos,julen/tzos