Build mend, one patch tool for every AI edit format

@sttcolumbina

mend: full SPEC.md 4-format 3-tier patch applier, Sent through the API