Latte: fixed adding dynamic snippets to payload

When static snippet wrapper (or snippetArea) contained a dynamic
snippet wrapped in a block (i.e. static snippet -> block -> dynamic
snippet), rendered dynamic snippets weren't added into payload.

Cause was that information was shared via scope which was different for
nested block (block is a function call) and snippet wrapper.

Fix was done via shared reference to a stdClass object.