Fixed #7116 -- Optimize RequestContext construction

Instead of pushing a separate dict for each TEMPLATE_CONTEXT_PROCESSOR,
merge them into one dict and update once.  This results in a shallower
context stack, meaning faster variable lookups.