Dubai's stock exchange suffered a steep sell-off in June, a bad start for the UAE as a new emerging market.