Moved git2r C code error messages to separate file

* Refactoring to split git2r.c into several smaller files

* Added prefix git2r to error messages