Patch Set 2:

Rebased to current master. This fixes two findbugs warnings; a new one is introduced in GitModelBlob, but that's probably not quite easy to fix (BUGTYPE EQ_OVERRIDING_EQUALS_NOT_SYMMETRIC).
We should look at this again.