The project will provide clean heating and cooling for New Haven’s train station and nearby public housing. It could be a test case for similar efforts statewide.