doc fix: rand(r) works also when r is a StepRange
doc fix: replace Range1 by UnitRange
Merge pull request #8281 from rfourquet/docs-range

Update doc for rand(range) and replace Range1 -> UnitRange