Add example to commit method

* Moved commit method from R/repository.r to R/commit.r

* Add example to git_commit show and summary methods

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