oslo.db implementation

Use oslo.db library instead of common.db code.

Change-Id: I3019e35bf961b50cbd3d9737ba7c08b3f20536a0
Merge "oslo.db implementation"