Changing old "catchphrase"
Fixing Python3 compatibility issues (dict.items() retuns dict_items, there is no basestring)
Adding setup.py for packaing and tox.ini for Python 2/3 testing