Add `git_repository_open_bare`

Loading a repository can be an expensive operation if you gotta parse all the config files, find the working tree, and so on, and so forth.

If you happen to work for a company that hosts a lot of repositories, and they are all stored as bare repositories on disk, this new API call will make opening repositories much more efficient.

/cc @arrbee