support for rand(Ranges) and rand(Ranges,dims)

previously rand accepted only Range1{T<:Integer}
Merge pull request #5059 from ggggggggg/rand_ranges

RFC support for rand(Ranges) and rand(Ranges,dims)