A stunning injury-time goal by Lionel Messi has taken Argentina through to the Round of 16 with a 1-0 win over Iran in Belo Horizonte's Estadio Mineirao.