use options object for search()
Merge pull request #83 from Trott/search-options

use options object for search()