Build mend, one patch tool for every AI edit format

@javier-rizki

mend — full SPEC patch applier: unified, SEARCH/REPLACE, V4A, JSON, Sent through the API