Patch Set 1: I would prefer that you didn't submit this; IP review completed

Great idea. However, we should get rid of static methods. Instead, the cache class should be obtained from the plug-in activator and only have non-static methods and members.
The constructor should be hidden, for example by putting the
class into the org.eclipse.egit.ui package and making the
constructor package-private.