added unicode
str -> basestring for unicode compat
Merge pull request #1 from bgschiller/allow-unicode

Allow unicode