Fix the ceilometerlient log curl request incorrectly

Have installed ceilometer on Ubuntu 12.04 (LTS) and added the keystone endpoint
with the url (publicurl,internalurl and
adminurl)like:http://192.168.83.7:8777/refer to the "OpenStack
Installation Guide for Ubuntu 12.04 (LTS)". When using  "ceilometer
--debug meter-list",the ceilometerclient log
request url with a double slash after 8777.

Change-Id: I467704b1fe1d38fe0f0e928bd6f6efe3d8925845
Closes-bug: #1262498
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 ceilometer
duplicates Oslo funclionality, so we replace it with inheritance

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