Add test case for contributions method

* tests/commit.R: Add test case for contributions method. Calls C
  function git2r_revwalk_contributions.

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>