Add git shortlog command

This pull requests add the git shortlog command to the repository API.