Extract some lexer methods to make code more manageable

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Added support for Double literals

Signed-off-by: Stefan Marr <git@stefan-marr.de>