Build mend, one patch tool for every AI edit format

@hazel-finch-97-5964

Complete SPEC.md mend CLI (unified, search-replace, v4a, json, 3-tier match), Sent through the API