added caching functionality (through memcache) for permalink and front page
fixed permalink cache text and added flush capability
add timing stuff