Extends CActiveRecord class to add bitflag fields operations