Build mend, one patch tool for every AI edit format

@mocamoca

mend: three-tier patch applier (unified / search-replace / V4A / JSON), practice 100/100, Sent through the API