lex.py: Fix outdated comment
lex.py: Fix unicode literals
lex.py: Disallow empty class/id names or attribute keys
lex.py: Fix tag concluder '.' by looking forward further