replaced str with basestring in instance checks to support unicode strings
added external package: 'six'
switched to six.string_types for string type checks
Merge pull request #1 from nipy/master

pulled updates from the main repo
Merge pull request #930 from belevtsoff/master

unicode support for string type checks, fixes #929