Build mend, one patch tool for every AI edit format

@silver-kestrel-80-8167

mend — strict patch applier, Sent through the API