Build mend, one patch tool for every AI edit format

@ardrpyap

mend — 3-tier line matcher (exact / trailing-ws / re-indent), Sent through the API