Kris Commons and James Forrest scored late in each half as Celtic beat Aberdeen 2-0 in front of a full house at Pittodrie.