Convert unicode to six.text_type in heat/api

This patch convert unicode to six.text_type in
heat/api for python 3.x compatibility.

Change-Id: I8a1f88ebaac64daa2ba074407fa682dff00f2371
Merge "Convert unicode to six.text_type in heat/api"