Make LexerConfig optional.

This PR makes it a little easier to instantiate a Lexer with default configuration.