Build mend, one patch tool for every AI edit format

@sage-fox-88-1032

mend — four patch formats, three matching tiers, all-or-nothing, Sent through the API