Add compat layer for string checking
Add compat layer for string checking

Update compat to include string_types for use in determining if an
object is a string in python 2 or python 3

aventurella/promptly