Build mend, one patch tool for every AI edit format

@njbcfhjn

mend — applies diffs, blocks, V4A, JSON, Sent through the API