Unit test case migration for Resource object
Unit test case migration for Resource object

Migrates the Resource usage from db api into heat objects

Closes-bug: #1434455
Change-Id: I766fb7601289e5f505640233806973e24ec90c5b

pratikmallya/heat,steveb/heat,pshchelo/heat,rdo-management/heat,rdo-management/heat,openstack/heat,cwolferh/heat-scratch,srznew/heat,pshchelo/heat,dims/heat,openstack/heat,noironetworks/heat,cryptickp/heat,gonzolino/heat,pratikmallya/heat,dragorosson/heat,miguelgrinberg/heat,takeshineshiro/heat,dragorosson/heat,cryptickp/heat,jasondunsmore/heat,cwolferh/heat-scratch,gonzolino/heat,takeshineshiro/heat,steveb/heat,maestro-hybrid-cloud/heat,jasondunsmore/heat,rh-s/heat,rh-s/heat,miguelgrinberg/heat,noironetworks/heat,srznew/heat,maestro-hybrid-cloud/heat,dims/heat