Implemented support of 'and', 'or' and 'not' operators inside 'if' condition.
Rewrote attribute parsing and evaluation.
Implemented basic evaluation of variables as boolean exressions: check if '!= 0'.