Dramatic last-gasp equaliser as Hibs hold Thistle