Move git2r_arg_check functions

* Move git2r_arg_check C functions to git2r_arg.c/h from
  git2r_error.c/h
Update header files to include
Update Makevars