use -m instead of -c for git diff-tree

issue #31
implement better encoding support for base and git
use sys.hexversion for python version checks
Merge branch 'develop' into feature/better-encoding-support