Add rand_float for random float values in a range.

Thought about whether this fits with Arcadia, but I'm using it a lot, so
for now let's give it a try.