move replication code to ReplicatedObjectController
move replication code to ReplicatedObjectController

Moving _connect_put_node, send_file, _transfer_data and _store_object
methods to ReplicatedObjectController. Each one of these methods are
specific to replication policy.  EC policy implements their own
version of them.

Of these four methods, only _store_object and _connect_put_node are
required to be implemented by the policy specific Object Controllers.

Change-Id: Ifc72461b77dbfdaae9d63417f1286e8b5da3ca4e
Signed-off-by: Thiago da Silva <f23d94b2a735b6193d3882ae31308d2e41e8282b@redhat.com>

thiagodasilva/swift,hbhdytf/mac2,larsbutler/swift,nadeemsyed/swift,matthewoliver/swift,williamthegrey/swift,notmyname/swift,nadeemsyed/swift,redhat-openstack/swift,psachin/swift,mjzmjz/swift,swiftstack/swift,hurricanerix/swift,bkolli/swift,smerritt/swift,wenhuizhang/swift,openstack/swift,bkolli/swift,takeshineshiro/swift,gold3bear/swift,hbhdytf/mac,redbo/swift,psachin/swift,notmyname/swift,takeshineshiro/swift,tipabu/swift,clayg/swift,redhat-openstack/swift,matthewoliver/swift,redbo/swift,aerwin3/swift,smerritt/swift,swiftstack/swift,psachin/swift,smerritt/swift,levythu/swift,mjwtom/swift,matthewoliver/swift,clayg/swift,larsbutler/swift,daasbank/swift,thiagodasilva/swift,openstack/swift,mjzmjz/swift,hurricanerix/swift,daasbank/swift,rackerlabs/swift,clayg/swift,Em-Pan/swift,hbhdytf/mac2,wenhuizhang/swift,tipabu/swift,bradleypj823/swift,swiftstack/swift,nadeemsyed/swift,matthewoliver/swift,bradleypj823/swift,shibaniahegde/OpenStak_swift,shibaniahegde/OpenStak_swift,hbhdytf/mac2,Akanoa/swift,williamthegrey/swift,openstack/swift,hurricanerix/swift,levythu/swift,bouncestorage/swift,revoer/keystone-8.0.0,openstack/swift,bouncestorage/swift,Em-Pan/swift,smerritt/swift,rackerlabs/swift,dencaval/swift,notmyname/swift,prashanthpai/swift,tipabu/swift,zackmdavis/swift,gold3bear/swift,dencaval/swift,zackmdavis/swift,prashanthpai/swift,hurricanerix/swift,notmyname/swift,revoer/keystone-8.0.0,tipabu/swift,Akanoa/swift,psachin/swift,hbhdytf/mac2,clayg/swift,aerwin3/swift,mjwtom/swift,hbhdytf/mac,nadeemsyed/swift