Added test cases for a bare repository

* tests/bare_repository.R: Added
Minor update test cases

* Test cases in tests/test_git2r.R moved tests/repository.R

* tests/test_git2r.R: Removed
Fixed workdir method for bare repository to return NULL