tpl: added {require_js and {require_css template funcs
tpl compile: added {require_js and {require_css template funcs