kernel: move the cache timer into CacheManager, as there are limits to registered timer handlers in the system. Writeback works now, but also breaks compiling files with GCC.

This means programs that modify files without calling fsync() will still have changes to those files written back to disk.