State Machine Behavior for CakePHP.