Replace random.randint() with os.urandom()

Should be some gains in simplicity.
I didn't quite catch what's going on in here, the third parameter to `salt.crypt.gen_keys` is `keyname`, and as specified in the docstring for that function, should be either `"master"` or `"minion"`. Why are we going to all this trouble to generate something random?