Senegal have clinched their second Africa Cup of Nations title after beating Morocco in an extraordinary final on Sunday.