Use Resource() class from common Oslo code

In the process of unification of the clients code we should
reuse common functionality from Oslo. Resource() class from trove
duplicates Oslo funclionality, so we replace it with inheritance

Related to blueprint common-client-library-2

Change-Id: I9809bd3036a5b544b8ff011432f64dc5af793f61
Merge "Use Resource() class from common Oslo code"