Wrap crypt_random_string in if !function_exists

Composer's "file" autoloader does a require instead of a require_once. This means that if you have two composer autoloaders in your project (common in Laravel 4 projects with workbenches) the function file is loaded twice and you get a fatal error of "cannot redeclare function".