England get edge on first day of second Test at the Gabba in Brisbane as Joe Root hits his first century in Australia.