Extract partial rendering to RenderPartialsHelper
Added a cache to avoid having to repeat template lookups several times
per request.
Merge pull request #1033 from projectblacklight/render_partials_helper

Extract partial rendering to RenderPartialsHelper