Optimizing the Flexible Extension Filesystem Loader

This addresses a pretty big performance problem that exploded by supporting many
more standard directories. Twig was needing to look in many locations over and
over again for the same templates.