added the ability to turn off or set the cache key for the template

git-svn-id: file:///var/www/svn/anahita/anahita/branches/search@16985 a933e228-e664-4d3f-8241-49479697c698