Unheralded Derek Ernst beat England's David Lynn in a play-off to capture the Wells Fargo Championship at Quail Hollow.