Hundreds of mourners, including President Obama, gathered to honor Edward M. Kennedy, who was buried in Arlington National Cemetery.