Build mend, one patch tool for every AI edit format

@laoye

mend v1 — full SPEC implementation, three-tier fuzzy matching, Sent through the API