Remove 'basestring' from objects utils

'basestring' type is not compatible with Python 3,
type from six library used. Also allows unicode
literals instead of str().

Change-Id: I2a8e9e3b36d58146386eaa700dba0227faed896e
Merge "Remove 'basestring' from objects utils"