Senegal has been stripped of the Africa Cup of Nations for misconduct in the tournament final, the Confederation of African Football (CAF) has ruled.