Patch Set 5: Looks good to me, approved; IP review completed

Cherry-picked and reworked the compute code to be shorter and more generic for later support of gitattributes and generic user-defined clean filters.

At this point I think its good enough to submit.  Thanks Marc.