add lockcount support and change to standard rand as crypto rand becomes unhappy on machines with a higher core count
add lockcount support and change to standard rand as crypto rand
becomes unhappy on machines with a higher core count

DavidAlphaFox/riak,laurenrother/riak,basho/riak,authbox-lib/riak,GabrielNicolasAvellaneda/riak,yangchengjian/riak,glickbot/riak,elkingtonmcb/riak,amyvmiwei/riak,biddyweb/riak