Japan's Financial Service Agency has licensed a cryptocurrency exchange being rebranded and relaunched by internet giant Rakuten.