Senegal have regained their Africa Cup of Nations crown after the Court of Arbitration for Sport overturned CAF's decision to name Morocco champions following a disputed final.