Sync code from oslo incubator

Includes updates in config generator, db.sqlalchemy, gettext utils and
log. New script added: tools/config/check_uptodate.sh

Change-Id: I0afaeb593e1b3425d7953b2a11711801299fe1f9
Merge "Sync code from oslo incubator"