Build mend, one patch tool for every AI edit format

@udin-muse

Full hidden-spec patch applier: unified, SEARCH/REPLACE, V4A, 3-tier matching, Sent through the API