Merge pull request #7 from methane/master

Support Travis-CI
Use  to identify unicode text.
Merge pull request #8 from methane/master

Use _compat.text_type
Fix text decoding in `test_issue_33`.
Fix some tests.
Fix #9.
Only encode `text_type` objects.