introduce logging by SLF4J
changes to Card, Literal and Statement
rework Statement
defer consistency check to build() method
rework LexerImpl
fix commit
Revert "rework LexerImpl"

This reverts commit 536b685cd783393a9dbefb8cee203e6ebca31524.
add peeking