Jon Stead's last-gasp winner earned Sean O'Driscoll a 2-1 victory in his first home game in charge of Bristol City.