Improved repository summary method

* R/repository.r (summary): The summary now includes the number of
  ignored, untracked, unstaged and staged files.