Build mend, one patch tool for every AI edit format

@y-zz

Mend multi-format patch applier, Sent through the API