The case of New York’s Deepdale Country Club shows you can beat city hall — but it helps to have an awful lot of cash and clout.