Update oslo.db from oslo-incubator's master

Synced common db code from oslo commit fb738d40bb0a9ef6d840a08dc9ac327b0be73b74.
Dropped dependencies from oslo log, oslo lockutils, oslo fileutils.