Repair rand{T<:Integer}(r::Range1{T}) for signed types. Closes #3004.
Merge pull request #3008 from GunnarFarneback/rand_from_range

Repair rand{T<:Integer}(r::Range1{T}) for signed types. Closes #3004.