Unilever has pledged that Magnum will be the first ice-cream brand to contain only cocoa from farms certified by the Rainforest Alliance.