adds static flushStatic method to CActiveRecord as described in issue #2...

Issue: #2005