Extracted search into own class
Search criteriy is objetified. Can be stored and saved in preferences.

This is a first step to enable saved searches inside the Keepass database via use of custom data.
Merge branch 'encapsulate_search'