Refactoring db module

Nova client calls moved to openstack utils.
Unit tests updated.

Change-Id: I025a9ec68e7f115f68c1982329c632b9618d81d6
Merge "Refactoring db module"