Add better debugging support to template engine.
Add better debugging support to template engine.

alexlance/alloc,cyberitsolutions/alloc,cyberitsolutions/alloc,cyberitsolutions/alloc,cyberitsolutions/alloc,alexlance/alloc,cyberitsolutions/alloc,alexlance/alloc,alexlance/alloc,alexlance/alloc