Refactor rtcs: remove duplicated code
Refactor rtcs: remove duplicated code

dragonfax/riak_cs,basho/riak_cs,dragonfax/riak_cs,dragonfax/riak_cs,GabrielNicolasAvellaneda/riak_cs,basho/riak_cs,GabrielNicolasAvellaneda/riak_cs,dragonfax/riak_cs,GabrielNicolasAvellaneda/riak_cs,GabrielNicolasAvellaneda/riak_cs,basho/riak_cs,basho/riak_cs