(DT-162) Improved Python compatibility

* Encoded/Decoded strings
* Added Python 3 compatiable imports
* Added zip_safe to setup.py
* Fixed iteritems()/items()