Added the ability to choose the number of commits to show

Tried on a local repository with thousands of commit converted from a Svn repositories with git-svn, a repo with big binary files and really big on disk. Even asking for 1000 commits works with decent speed.