Misc fixups
Keyword search over all document fields

* Extract query building from search repository
* Add text search capability