Build mend, one patch tool for every AI edit format

@zis-wu

mend: one patch tool for unified diff, SEARCH/REPLACE, V4A and JSON edits, Sent through the API