Modifying CI_DB_Cache class so it not to depend on instaciated controller.