define basestring for python 3 compatibility
Merge pull request #6 from nephics/python3

python 3 compatibility