Enforce using six.text_type() over unicode()

For python 3 compatibility, this adds a hacking check to prevent the
usage of unicode().

Change-Id: I791bbf251ac0f9615a9bedc2dd295a7982d72e0a
Closes-bug: #1282893
Merge "Enforce using six.text_type() over unicode()"