Eglise Sant Genest, Flavigny, 13th-18th centuries