new method 'HeatTestCase.patchobject'

This patch introduce this method helper to use mockpatch from Oslo
and so benefit of mock and fixtures

Change-Id: Iac3c0d17a77f33b1ebf2ddc69db8237998947925
Merge "new method 'HeatTestCase.patchobject'"