World Rugby has admitted referee Craig Joubert blundered by awarding Australia the last-gasp penalty that sent Scotland crashing out of the World Cup.