Use rand(Uint32) for small ranges.

and tests test/random.jl.
Random number within range: Throw error for empty ranges.
Merge pull request #5741 from mschauer/randrange

Use single call to dsfmt_gv_genrand_uint32() for small ranges (Take 2)