Brooklyn borough president, showered with real estate money in campaign’s final months, will be city’s 110th mayor