Fix python2 compatability: Using string_types instead of str for isinstance
Merge pull request #44 from lordi/python2_string_types

Fix python2 compatability: Using string_types instead of str for isinsta...