A Kris Commons double helped Celtic snatch a 3-1 victory as they made it 17 consecutive home wins over Aberdeen.