Refactor to use sync_send_event and gen_fsm:reply instead of normal message passing
Refactor to use sync_send_event and gen_fsm:reply instead of normal message passing

AZ999

yangchengjian/riak_cs,basho/riak_cs,dragonfax/riak_cs,yangchengjian/riak_cs,GabrielNicolasAvellaneda/riak_cs,GabrielNicolasAvellaneda/riak_cs,sdebnath/riak_cs,basho/riak_cs,laurenrother/riak_cs,sdebnath/riak_cs,GabrielNicolasAvellaneda/riak_cs,sdebnath/riak_cs,basho/riak_cs,basho/riak_cs,basho/riak_cs_lfs,yangchengjian/riak_cs,dragonfax/riak_cs,GabrielNicolasAvellaneda/riak_cs,sdebnath/riak_cs,yangchengjian/riak_cs,dragonfax/riak_cs,laurenrother/riak_cs,laurenrother/riak_cs,basho/riak_cs_report,laurenrother/riak_cs,dragonfax/riak_cs