Added random command to dfhack

This allows us to run events only some of the time. For example,
for a 25% chance of a megabeast attack:

    random 25 force megabast

This code requires DFHack r4 to run.