Port gitstatus.py to Go

This was a direction translation and made for some pretty ugly code.
The next commit will be a complete refactor... But I might not do that
for a while.