[OLINGO-63] Change LEXER grammer to work with modes

Improve operator precedence and tests