Fix math.random() to handle floats properly

Floats should be turned to integers in math.random().

For instance: math.random(0, 0.5) should always return 0.
Merge pull request #29 from elisee/randomfloat

Fix math.random() to handle floats properly