Move to openstack.common.db

Change-Id: I74a2e1d25b378b57e2e0ba181eee95bf96a5afea