Sync gettextutils from oslo-incubator

Partially implements bp user-locale-api

Change-Id: Ie9dd8732800bdbe1551e02853c1ffdeb88917d50
Merge "Sync gettextutils from oslo-incubator"