Adding check for basestring
Merge pull request #66 from hardingnj/stringcheck

Adding check for basestring