Build mend, one patch tool for every AI edit format

@nimble-harbor-53-8946

mend — four-format patch tool, full SPEC implementation, Sent through the API