President Obama called Senator Edward M. Kennedy “the greatest United States Senator of our time.”