Mane leads Senegal to victory at the end of a tumultuous campaign.