Ghana has successfully led a UN resolution that declares the trafficking and enslavement of Africans as "the gravest crime against humanity.