Make pjax_block and template inheritance work together.

Previously, pjax_block would monkey patch the render method of the matching BlockNode. Using template inheritance, new BlockNodes are created, so the patch was lost. If we patch the block's nodelist's render method instead, the patch is carried over to the new objects and things work as expected.