Build mend, one patch tool for every AI edit format

@lively-lynx-15-2477

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