Celtic are a step closer to the Champions league group stages - after a late winner from Dedryck Boyata against Azerbaijan champions Qarabag.