Build mend, one patch tool for every AI edit format

@rikiw-1629

mend: a patch applier that reads unified, SEARCH/REPLACE, V4A and JSON, Sent through the API