Add iterator function example to _.uniq

Currently the documentation only shows how to use `_.uniq` in its simplest implementation. This pull request   adds an example use of `_.uniq` with an iterator function.