Small optimization to container_quotas
Small optimization to container_quotas

When handling an object PUT with X-Copy-From, we only need to fetch
the source object's size if the container has a byte quota, but we
were always fetching it. Now we only fetch the size when we need it.

Change-Id: I0c2c6820cdf0022ef57df5fe7dcb2dd466665a4f

matthewoliver/swift,openstack/swift,tipabu/swift,dencaval/swift,openstack/swift,hbhdytf/mac,smerritt/swift,scality/ScalitySproxydSwift,anishnarang/gswift,bradleypj823/swift,NeCTAR-RC/swift,openstack/swift,tipabu/swift,sarvesh-ranjan/swift,mjwtom/swift,clayg/swift,hbhdytf/mac2,hurricanerix/swift,mjzmjz/swift,smerritt/swift,clayg/swift,redhat-openstack/swift,xiaoguoai/ec-dev-swift,AfonsoFGarcia/swift,Akanoa/swift,nadeemsyed/swift,matthewoliver/swift,notmyname/swift,thiagodasilva/swift,redbo/swift,prashanthpai/swift,larsbutler/swift,redhat-openstack/swift,daasbank/swift,shibaniahegde/OpenStak_swift,anishnarang/gswift,nadeemsyed/swift,AfonsoFGarcia/swift,bouncestorage/swift,psachin/swift,hurricanerix/swift,williamthegrey/swift,williamthegrey/swift,swiftstack/swift,clayg/swift,prashanthpai/swift,bkolli/swift,Seagate/swift,Akanoa/swift,maginatics/swift,revoer/keystone-8.0.0,thiagodasilva/swift,psachin/swift,eatbyte/Swift,mjzmjz/swift,notmyname/swift,dpgoetz/swift,matthewoliver/swift,Em-Pan/swift,clayg/swift,dencaval/swift,psachin/swift,Seagate/swift,levythu/swift,wenhuizhang/swift,Em-Pan/swift,smerritt/swift,openstack/swift,takeshineshiro/swift,psachin/swift,Khushbu27/Tutorial,NeCTAR-RC/swift,gold3bear/swift,levythu/swift,wenhuizhang/swift,swiftstack/swift,swiftstack/swift,iostackproject/IO-Bandwidth-Differentiation,tipabu/swift,dpgoetz/swift,hurricanerix/swift,zackmdavis/swift,IPVL/swift-kilo,mjwtom/swift,aerwin3/swift,zackmdavis/swift,notmyname/swift,hbhdytf/mac2,hurricanerix/swift,hbhdytf/mac2,tipabu/swift,redbo/swift,IPVL/swift-kilo,smerritt/swift,rackerlabs/swift,matthewoliver/swift,maginatics/swift,sarvesh-ranjan/swift,daasbank/swift,bradleypj823/swift,scality/ScalitySproxydSwift,gold3bear/swift,shibaniahegde/OpenStak_swift,nadeemsyed/swift,hbhdytf/mac,hbhdytf/mac2,aerwin3/swift,bkolli/swift,eatbyte/Swift,xiaoguoai/ec-dev-swift,Khushbu27/Tutorial,larsbutler/swift,nadeemsyed/swift,notmyname/swift,bouncestorage/swift,rackerlabs/swift,revoer/keystone-8.0.0,iostackproject/IO-Bandwidth-Differentiation,takeshineshiro/swift