Refactored LexerCommon and CssLexer a bit by replacing a naive state
handling with the queue one.