Added FlxFlicker class that encapsulates flickering behavior and provides callbacks on flicker status.