Implemented -[GitRepository inTransaction].

Note that this method currently always returns NO, as the related
functionality has not been implemented yet.
Added the GitDiff class.
Implemented the diff methods on GitRepository.