Novak Djokovic has won an appeal against a decision to refuse him a visa in the Federal Circuit Court of Australia ahead of the Australian Open.