The collapse of two affordable housing projects that had been set to receive funding from Civic San Diego, the city’s downtown development agency, speaks to the difficulties in getting such project to the finish line.