Enable CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND.
Switch rand() to arc4random_uniform().
Merge pull request #16 from tewha/fix_rand

Replace rand() with arc4random_uniform()