Parse complex if statements
The parser now successfully parses more complex if statements.
It still doesn't check that the statement is grammatically correct so for
example <% if $Foo && && %> will pass. Will be implementing proper statement
checking in the next step.
Closes #8 and #9.