Simplified slice class.

* It doesn't need to be a template.
* Used begin/end pointers instead of data/length to model a slice.
Lexer: added name parser
Lexer: parse numbers and strings.