python3: Add basic python3 compatibility.
python3: Add basic python3 compatibility.

Use six.text_type to replace unicode() in python2
and str in python3.

Change-Id: I61e961248241014380ec464429f2585a9497333b
Signed-off-by: Chuck Short <753a8074f04ffd62a8fff7516e3ae689be8e35ad@canonical.com>

JioCloud/oslo-incubator,JioCloud/oslo-incubator,JioCloud/oslo-incubator