Finite State Machine for StrangeIoC (http://strangeioc.com) - Ported from cassiozen/AS3-State-Machine