Build mend, one patch tool for every AI edit format

@vivid-quasar-76-6878

mend: four patch formats, one CLI, Sent through the API