Little fix for T33722.
Currently static objects are activated during movements.
Also the UpdateDeactivation is now used to unset the kinematic flag and to set sleep flag to the rigid body.
demo file : http://www.pasteall.org/blend/35998
Press "Q" to rotate, "A" to play a scale action, and right arrow to move.