A controversial nonprofit housing project in Cupertino that's been under consideration for about 20 years has the green light to move forward.