Updated git module to support python 3
Updated git module to support python 3

Also fixed a couple of typos and some small PEP8 tweaks.

thinkst/opencanary,thinkst/opencanary,thinkst/opencanary,thinkst/opencanary