fix arc4random_uniform behavior with arguments over 2^32-1, and add tzset binding
add documentation