The Australian economy has posted its strongest performance in almost three years with growth across almost all sectors.