Fix variable name in template
Add memcache caching of History info - drastically cuts number of SQL queries when loading Nag task list, for instance.

Maybe should be reworked to use HashTable now?
Fix some warnings in HashTable base
Fix variable name
This specifically needs to be a string, not just not false
Handle being passed 'memcache' or 'hashtable'