improved template cachine mechanism to fix bugs

*fixed: [[ inline_js() ]] blocks were causing tags to be closed
*fixed: needed to improve template caching. [[ render() ]] function now creates a placeholder div inline, renders the template inline with data but only later replaces placeholder with already rendered fragment. avoiding any closing tag issues, while preserving data and event scope for templates, and remaining super fast doc fragment space.