The Maidstone Club’s more than two-year effort to modernize and expand the irrigation system on its 18 and 9-hole golf courses ended on Friday when the East Hampton Village Zoning Board of Appeals approved area variances and special and freshwater wetlands permits for the project, albeit with two of the five members voting to deny the application.