Allow custom resultRenderFunction to access the search term

The `processData` function's third arg takes a `term`, but it's never used. I believe it should be passed to `resultRenderFunction` so that any custom renderer can use it.

## Use case

Adding dynamic text to the results such as: *Products matching "your search term".*