Refactor the quota code
Refactor the quota code

There is lot of duplicate or similar code repeated
for quota check. This patch refactors the code by using
the function QuotaDriver.verify_quota_for_resource.

Change-Id: Id3a8c1f662d0931f62b79e18d7ad02da01798ae2

codilime/contrail-controller,rombie/contrail-controller,rombie/contrail-controller,srajag/contrail-controller,codilime/contrail-controller,nischalsheth/contrail-controller,tcpcloud/contrail-controller,numansiddique/contrail-controller,srajag/contrail-controller,rombie/contrail-controller,cloudwatt/contrail-controller,reiaaoyama/contrail-controller,tcpcloud/contrail-controller,DreamLab/contrail-controller,cloudwatt/contrail-controller,codilime/contrail-controller,facetothefate/contrail-controller,DreamLab/contrail-controller,reiaaoyama/contrail-controller,sajuptpm/contrail-controller,tcpcloud/contrail-controller,nischalsheth/contrail-controller,DreamLab/contrail-controller,nischalsheth/contrail-controller,rombie/contrail-controller,eonpatapon/contrail-controller,DreamLab/contrail-controller,nischalsheth/contrail-controller,cloudwatt/contrail-controller,srajag/contrail-controller,nischalsheth/contrail-controller,vmahuli/contrail-controller,srajag/contrail-controller,tcpcloud/contrail-controller,rombie/contrail-controller,facetothefate/contrail-controller,numansiddique/contrail-controller,reiaaoyama/contrail-controller,rombie/contrail-controller,cloudwatt/contrail-controller,numansiddique/contrail-controller,vpramo/contrail-controller,facetothefate/contrail-controller,hthompson6/contrail-controller,reiaaoyama/contrail-controller,vpramo/contrail-controller,sajuptpm/contrail-controller,eonpatapon/contrail-controller,DreamLab/contrail-controller,codilime/contrail-controller,srajag/contrail-controller,facetothefate/contrail-controller,numansiddique/contrail-controller,vpramo/contrail-controller,rombie/contrail-controller,hthompson6/contrail-controller,tcpcloud/contrail-controller,vpramo/contrail-controller,tcpcloud/contrail-controller,sajuptpm/contrail-controller,codilime/contrail-controller,codilime/contrail-controller,vmahuli/contrail-controller,nischalsheth/contrail-controller,hthompson6/contrail-controller,sajuptpm/contrail-controller,eonpatapon/contrail-controller,vmahuli/contrail-controller,eonpatapon/contrail-controller,numansiddique/contrail-controller,nischalsheth/contrail-controller,hthompson6/contrail-controller,eonpatapon/contrail-controller,vpramo/contrail-controller,cloudwatt/contrail-controller,sajuptpm/contrail-controller,eonpatapon/contrail-controller,eonpatapon/contrail-controller,reiaaoyama/contrail-controller,vmahuli/contrail-controller,sajuptpm/contrail-controller,nischalsheth/contrail-controller,hthompson6/contrail-controller,vmahuli/contrail-controller,facetothefate/contrail-controller