(DT-162) Python 3 compatibility

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