Add a new ``TreeEntry.is_unmodified`` method, which allows merge to check for unmodified files without relying on the .revision attribute that is not available for Git trees.
This fixes LCA merges for Git repositories.
Merged from https://code.launchpad.net/~jelmer/brz/ie-is-same/+merge/373715