Fix for [CPUndoManager removeAllActions] not clearing the current groupings as well.
Fix for [CPUndoManager removeAllActions] not clearing the current groupings as well.

Closes #1002.

Reviewed by me.

FrankReh/cappuccino,zittix/cappuccino,zittix/cappuccino,mrcarlberg/cappuccino,krodelin/cappuccino,cacaodev/cappuccino,kidaa/cappuccino,cacaodev/cappuccino,dgvivero/CappCoreData,daboe01/cappuccino,mrcarlberg/cappuccino,tolmasky/cappuccino,enquora/cappuccino,primalmotion/cappuccino,FrankReh/cappuccino,zittix/cappuccino,mrcarlberg/cappuccino,krodelin/cappuccino,koamac/Cappuccino,wangshijin/cappuccino,Dogild/cappuccino,krodelin/cappuccino,cappuccino/cappuccino,280north/cappuccino,eventualbuddha/cappuccino,zittix/cappuccino,enquora/cappuccino,Rosch/cappuccino,enquora/cappuccino,krodelin/cappuccino,daboe01/cappuccino,rgv151/cappuccino,wangshijin/cappuccino,tancred/cappuccino,deltaprojects/cappuccino,cacaodev/cappuccino,FrankReh/cappuccino,cappuccino/cappuccino,tolmasky/cappuccino,Rosch/cappuccino,dgvivero/CappCoreData,AlexanderMazaletskiy/cappuccino,kidaa/cappuccino,primalmotion/cappuccino,deltaprojects/cappuccino,280north/cappuccino,FrankReh/cappuccino,deltaprojects/cappuccino,dgvivero/CappCoreData,cappuccino/cappuccino,tancred/cappuccino,eventualbuddha/cappuccino,zittix/cappuccino,cappuccino/cappuccino,Dogild/cappuccino,280north/cappuccino,daboe01/cappuccino,Dogild/cappuccino,enquora/cappuccino,rgv151/cappuccino,dgvivero/CappCoreData,mrcarlberg/cappuccino,Rosch/cappuccino,enquora/cappuccino,primalmotion/cappuccino,Rosch/cappuccino,primalmotion/cappuccino,zittix/cappuccino,mrcarlberg/cappuccino,rgv151/cappuccino,mrcarlberg/cappuccino,mrcarlberg/cappuccino,Rosch/cappuccino,dgvivero/CappCoreData,280north/cappuccino,tolmasky/cappuccino,tancred/cappuccino,rgv151/cappuccino,kidaa/cappuccino,Rosch/cappuccino,tancred/cappuccino,cacaodev/cappuccino,Dogild/cappuccino,primalmotion/cappuccino,koamac/Cappuccino,koamac/Cappuccino,AlexanderMazaletskiy/cappuccino,cacaodev/cappuccino,cappuccino/cappuccino,deltaprojects/cappuccino,FrankReh/cappuccino,AlexanderMazaletskiy/cappuccino,tolmasky/cappuccino,Dogild/cappuccino,tolmasky/cappuccino,mrcarlberg/cappuccino,FrankReh/cappuccino,eventualbuddha/cappuccino,primalmotion/cappuccino,deltaprojects/cappuccino,primalmotion/cappuccino,krodelin/cappuccino,cappuccino/cappuccino,Dogild/cappuccino,FrankReh/cappuccino,enquora/cappuccino,wangshijin/cappuccino,krodelin/cappuccino,FrankReh/cappuccino,cappuccino/cappuccino,rgv151/cappuccino,deltaprojects/cappuccino,koamac/Cappuccino,tancred/cappuccino,kidaa/cappuccino,tancred/cappuccino,wangshijin/cappuccino,deltaprojects/cappuccino,wangshijin/cappuccino,AlexanderMazaletskiy/cappuccino,kidaa/cappuccino,koamac/Cappuccino,kidaa/cappuccino,daboe01/cappuccino,cacaodev/cappuccino,rgv151/cappuccino,Rosch/cappuccino,daboe01/cappuccino,280north/cappuccino,AlexanderMazaletskiy/cappuccino,eventualbuddha/cappuccino,rgv151/cappuccino,cacaodev/cappuccino,krodelin/cappuccino,AlexanderMazaletskiy/cappuccino,enquora/cappuccino,koamac/Cappuccino,daboe01/cappuccino,wangshijin/cappuccino,zittix/cappuccino,daboe01/cappuccino,Dogild/cappuccino