Fix urlopen call in _fetch() for QuantumRandom.
Add randint method to QuantumRandom.
Fix randrange() when called with start only.
Add tests.