Add gitlog command (fixes #56)

It's not ready to merge yet, because I haven't added any tests.