Convert the encode/decode functions from oslo-incubator to use
oslo.utils encodeutils, as the incubator functions are now
Also syncs oslo-incubator to 62394a3 to purge usage of strutils
from the openstack/common modules.
Note includes oslo fix https://review.openstack.org/#/c/133290/
which we need or the python3 tests won't pass.
Synchronize the cliutils from oslo to heatclient and use
the common methods.
used common methods:
partially implements blueprint common-client-library-2
Module py3kcompat was removed from oslo-incubator, we can use
* Sync commit of removing py3kcompat from oslo
* use six replace usage of py3kcompat
Current heatclient doesn't handle properly outgoing encode process.
For resolving it, this patch implements a process to encode everything
going out of the client, for example, prints.
This patch used two new modules (gettextutils.py and strutils.py)
taken from oslo-incubator in order to use safe_encode() and