chore: update karma to v0.10
fix(parser): No more static calls, move Lexer into its own class