Many have said that the U.K. would be hurt by leaving the EU. The bigger question is what happens to the rest of the world.