improve searching

* collection#search takes Hash or String
* request#search takes search string only

Fixes #29