[backend] put remote_getrev results in the cache, use the cache for project sourceinfo as well