Latte: alternative PHP syntax for control structures (if:, endif) replaced with default syntax to avoid problems with mixing syntaxes. [Closes #1296]

`if (TRUE): if (TRUE) echo 1; else: echo 2; endif;`
Latte: fixed quoteFilter
Latte: optimized output, removed empty addAttribute(array())