Upgrade to jgit 3.0 since it's released.

The main change is in avoiding new FileRepository(path), and instead using FileRepositoryBuilder.