gitstats: Minor cleanups, added documentation