force_unicode -> force_text for python3
Fix debug flag import error
Merge pull request #6 from plumdog/master

Fix for Python3