Moved a bunch of the Cache stuff into the api from the web. Now when the cache clean runs it puts a row in the cache_stats table. Also, the cleaning service is now controlled by a boolean during the implementing classes instantiation of the abstract cache.