Moved git2r C functions to correct module

* The git2r C functions are prefixed with
  git2r_modulename_functionname() where git2r_modulename determines
  the name of the source/header file, e.g. git2r_repository_open() is
  in git2r_repository.c and git2r_repository.h