remove time_nonce and add rand_nonce
change the nonce routine to use the new rand_nonce
Fix docs for the new rand_nonce function