repository: Add `git_repository_open_bare`
Merge pull request #1476 from libgit2/vmg/bare-open

Add `git_repository_open_bare`