Fixed #15053 -- Improved template extending algorithm.

Thanks, Tim. I updated the loader docs to explain better what changed and added docs for the old ``load_template`` and ``load_template_source`` methods. These methods look like they were only ever documented indirectly in the "alternative template languages" section.