A somber mood settled over San Francisco’s City Hall and the plaza outside Sunday as the city prepared to bid farewell to Mayor Ed Lee with speeches and songs in honor of his decades of service as a nice-guy master of governmental policy and the art of quietly getting things done. The body of Lee, the first Chinese American mayor of San Francisco, had lain in state Friday under the City Hall dome from morning until evening as thousands filed through to pay respects.