Fixes #44 - Allows to use nested variables in {for}

A little bug fixes in WTemplateCompiler allows to use nested variables.

Relates to #44 .