Ensure trace info is added to all tags

The original commit adds the trace info in the `prerender_tag` method, which is only called in certain cases when the parser can detect the tag is static and can be rendered directly to the output. I’ve moved the code into `compile_tag`, so that it gets added to all tags (and updated the test so the tag doesn’t get pre-rendered).

(cc @ababkin)

---
Add trace info (when enabled) to all tags generated, not only those that
can be prerendered.