FloatRange: make behavior of `rat` independent of system word size.

This should hopefully fix issue #5934. Only considering fractions up
to 2^24 should be plenty. Anything with a numerator or denominator
larger than that probably wasn't meant as a rational number anyway.
Merge branch 'master' of github.com:JuliaLang/julia