Refactor the state machine.
Refactor the state machine.

Adjust the naming to match the specs.
Prepare for better directive support by having the depth level.

senchalabs/cssbeautify,senchalabs/cssbeautify