improve template renderer: better newlines, better parsing of inline coffee