Clean imports in code

In some part in the code we import objects.
In the Openstack style guidelines they recommend to import only modules.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I12a875436c10be2137a031e3ed4ec04a7fdf5e35
5 files changed