Added CommandStateSequence to represente sequences of command states.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>