espra/lex: create minimal reusable lexer package from go's template parser code.