Fix octemplate string escaping.
Cache Object.keys(this.vars)
Merge pull request #4434 from owncloud/fix_octemplate_escaping

Fix octemplate string escaping.