Merge commit 'ciaran/cli'
* commit 'ciaran/cli':
Adding a menu item to install the CLI tool.
The repository is owned by the window controller now, and PBWebGitController shouldn't need to use the ApplicationController
The ApplicationController does not own a repository any more
Amend the CLI tool to use the distributed objects system to try opening the current path when invoked.
Overriding -documentForURL: to use +gitDirForURL: to convert incoming URLs to the .git dir before checking for an open document, so that open a repository from subdirectories won’t open duplicate windows.
Separating out the logic for finding the .git dir for a given path in a repository, so it can be used in other places.
Adding a basic command-line tool to interface with the application through distributed objects.