Filtering support

Things to do:
* [ ] Support filtering in `get()` and `getStream()`.
* [ ] Support filtering in `search()` and `searchStream()`.
* [ ] Update docs.

Closes #27.