Add search to DiscoveryIO

* use ElasticIO.Result as SearchResult. It is generic enough.
* simple method in interface to return SearchResults.
* retool tests.
Build the query properly.
Merge pull request #342 from gdusbabek/esio_search

Search specification of for discovery interface.