Rory Burns batted all day to make a fine maiden Test century and put England on top in a fascinating first Test at Edgbaston