Revenue pressures forced WhatsApp to turn to e-commerce, and now the company is contending with a plague of spammers.