Check cache ready (fixes #422)

this new mechanism marks all elements in `remoteStorage.caching.rootPaths` as not ready at first; however, when they complete one sync round, they get marked as ready.

the result is that gets fill go to remote during initial sync instead of trying to query the still-empty cache