[WIP] Render time variables

Support for render time variables. Basically, this prepares the codebase for renderers accepting variables and evaluating them at render-time.