caching the path.normalize path.resolve stuff

The speed of including a template is nontrivial.  This is my first attempt at reducing that time.  It just caches some path and filename stuff.  Testing on large pages (with a huge number of sub-partials) on our website shows this speeding things up around 15%.