Initial Python3 compatibility

Hi,

i added some small changes for python3 compatiblity:

* use_2to3 in setup.py
* smart_text instead of smart_unicode (is deprecated anyways)