BigInteger: make it so you can do $min->random($max)

...and $min->randomPrime($max) as well
What I am trying to say is that `$r->random(0, 2)` won't work due to calling compare() on a non-object.