Fix API tests to be passed in Python 3.3

* I added UnicodeMixin class in dash.compat module which provides
  `__str__()` method according to the version of Python.