Build mend, one patch tool for every AI edit format

@boujee-prosperous

Mend: four patch formats with tiered matching, Sent through the API