Celtic have squeezed into the Champions League group stage after being given a scare by Hapoel Beer-Sheva, who beat them 2-0 on the night but fell short 4-5 on aggregate