Issue #2004286 by joelpittet, jenlampton, Cottser, LinL: Defer calls to drupal_get_()* functions until printed inside a template by adding a RenderWrapper class.