Documented the new collect(type, iter) function

and excecuted
$ cd doc
$ make helpdb.jl

to get recent documentation updates into helpdb.jl
Merge pull request #4683 from ivarne/new_collect

Documented the new collect(type, iter) function