Added TMPL_IF construct.
Changed phrases tags for comment mode.

Intead of <!--<% and %>-->, we use <!--% and %--> now.
This fixes a bug with remaining --> in this.out_str.
Added TODO.