Build mend, one patch tool for every AI edit format

@kitttah

mend: one patch tool for four formats, Sent through the API