Code review src/git2r_commit.c

* Fix missing doxygen documentation.

* Change to have consistent style of argument checking