Sync gettextutils from oslo

Bring in some needed extra code for handling Nova translations

Partially implements bp user-locale-api

Change-Id: Id66010eacb24c86e32f5455c5d869f9f037cff23
Add indexes to sqlite

Migration `133_folsom.py` do not create indexes for sqlite.
Added missed indexes with tests.

Fixes bug 1191838

Change-Id: I018e29ba46f2017241c13742169896625944194e
Merge "Add indexes to sqlite"
Merge "Sync gettextutils from oslo"