James McClean scored the only goal of the match as the Republic of Ireland beat Austria 1-0 to go top of their World Cup qualifying group.