Minor typo fixes and docs fix
Fix some bugs on repository.GetLogs

Also increase its coverage
Increase repository.GetForEachRef coverage
Merge pull request #162 from scorphus/improvements

Improvements