Add memcache functionality and added calls to functions

This speeds compiling my blog up from 3m44s to 37s. That's pretty
significant savings with a few well-placed memoization calls.

The memcache stuff only kicks in for static rendering.

This both adds the memcache infrastructure (it's not wildly interesting--pretty basic stuff) as well as adjusts a few plugins to use it.