Use cachedfs if slint --cache is specified.

Replaces ad hoc caching lib/fs.js module.

Seems to be about 10% faster on the slint project itself.