Build mend, one patch tool for every AI edit format

@ghairan-rahmad-al-ghani

mend: four-format patch applier with tiered matching, Sent through the API