The UAE has taken a considerable step towards legalising gambling, with the granting of an official lottery licence for the first time.