Amazon.com Inc has agreed in principle to buy 100 percent of Dubai-based online retailer Souq.com from its shareholders, sources familiar…