Fix #357: Fix resizeWithOldSuperviewSize to work more like Cocoa
Fix #357: Fix resizeWithOldSuperviewSize to work more like Cocoa

Without this fix, CPView's resizeWithOldSuperviewSize: would simply resize subviews at the rate of 1 pixel for every 2 pixel change.

This change introduces a new method of resizing views to a ratio of the size of the superview.

Patch contributed by @davidkhess

krodelin/cappuccino,cappuccino/cappuccino,krodelin/cappuccino,tancred/cappuccino,wangshijin/cappuccino,cacaodev/cappuccino,wangshijin/cappuccino,primalmotion/cappuccino,FrankReh/cappuccino,mrcarlberg/cappuccino,cappuccino/cappuccino,Rosch/cappuccino,Dogild/cappuccino,kidaa/cappuccino,cacaodev/cappuccino,mrcarlberg/cappuccino,zittix/cappuccino,enquora/cappuccino,Rosch/cappuccino,deltaprojects/cappuccino,FrankReh/cappuccino,koamac/Cappuccino,zittix/cappuccino,rgv151/cappuccino,mrcarlberg/cappuccino,FrankReh/cappuccino,primalmotion/cappuccino,Rosch/cappuccino,deltaprojects/cappuccino,kidaa/cappuccino,kidaa/cappuccino,rgv151/cappuccino,primalmotion/cappuccino,daboe01/cappuccino,Rosch/cappuccino,enquora/cappuccino,deltaprojects/cappuccino,primalmotion/cappuccino,mrcarlberg/cappuccino,Dogild/cappuccino,FrankReh/cappuccino,zittix/cappuccino,koamac/Cappuccino,FrankReh/cappuccino,zittix/cappuccino,mrcarlberg/cappuccino,koamac/Cappuccino,rgv151/cappuccino,mrcarlberg/cappuccino,cappuccino/cappuccino,primalmotion/cappuccino,daboe01/cappuccino,rgv151/cappuccino,rgv151/cappuccino,AlexanderMazaletskiy/cappuccino,enquora/cappuccino,deltaprojects/cappuccino,tancred/cappuccino,FrankReh/cappuccino,Dogild/cappuccino,rgv151/cappuccino,wangshijin/cappuccino,cappuccino/cappuccino,wangshijin/cappuccino,mrcarlberg/cappuccino,deltaprojects/cappuccino,krodelin/cappuccino,AlexanderMazaletskiy/cappuccino,cacaodev/cappuccino,koamac/Cappuccino,kidaa/cappuccino,daboe01/cappuccino,koamac/Cappuccino,Dogild/cappuccino,enquora/cappuccino,zittix/cappuccino,cacaodev/cappuccino,cacaodev/cappuccino,rgv151/cappuccino,cappuccino/cappuccino,Rosch/cappuccino,wangshijin/cappuccino,cappuccino/cappuccino,FrankReh/cappuccino,AlexanderMazaletskiy/cappuccino,Rosch/cappuccino,cacaodev/cappuccino,Dogild/cappuccino,tancred/cappuccino,enquora/cappuccino,primalmotion/cappuccino,tancred/cappuccino,FrankReh/cappuccino,Rosch/cappuccino,tancred/cappuccino,deltaprojects/cappuccino,zittix/cappuccino,Dogild/cappuccino,krodelin/cappuccino,deltaprojects/cappuccino,koamac/Cappuccino,cacaodev/cappuccino,zittix/cappuccino,krodelin/cappuccino,daboe01/cappuccino,kidaa/cappuccino,enquora/cappuccino,Dogild/cappuccino,krodelin/cappuccino,mrcarlberg/cappuccino,AlexanderMazaletskiy/cappuccino,AlexanderMazaletskiy/cappuccino,wangshijin/cappuccino,enquora/cappuccino,krodelin/cappuccino,kidaa/cappuccino,tancred/cappuccino,primalmotion/cappuccino,daboe01/cappuccino,daboe01/cappuccino,daboe01/cappuccino,cappuccino/cappuccino,AlexanderMazaletskiy/cappuccino