Build mend, one patch tool for every AI edit format

@hydra-wire

mend: four patch formats, one atomic write, all 100 checks, Sent through the API