Uses six.text_type instead of unicode

The unicode builtin doesn't exist in Python3.

Change-Id: Id13c8be7a016ec06d09cb45180dab64ade6f839c
Implements: bp keystone-py3kcompat
Merge "Uses six.text_type instead of unicode"