WIP: moving for Python3
Updated for Py3
Added function to get git hash
More py3 fixes
Py3 compatibility
Should work on both python2 and 3