Switch to etebase_fs_cache API from local implementation

- Move caching functions to ClientState from Adapter. This was needed to hold to etebase_fs_cache object for the resource duration.
- Pass ClientState to journalsfetchjob and entriesfetchjob - makes accessing account and caching functions easy
- Switch out local caching functions to client state functions in etesyncresource.cpp
- Use username_agentId as etebase cache folders to prevent conflict between different resource instances with the same username
1 job for !11 with etesync2resource in 47 minutes and 34 seconds (queued for 89 minutes and 29 seconds)
detached
Status Job ID Name Coverage
  Build
failed #71765
linux kf5-qt5 qt5.12

00:47:34

42.0%
 
Name Stage Failure
failed
linux kf5-qt5 qt5.12 Build
Uploading artifacts...
build: found 6846 matching files and directories

WARNING: Uploading artifacts as "archive" to coordinator... failed id=71765 responseStatus=502 Bad Gateway status=502 token=RpL6sh_w
WARNING: Retrying... context=artifacts-uploader error=invalid argument
WARNING: Uploading artifacts as "archive" to coordinator... failed id=71765 responseStatus=502 Bad Gateway status=502 token=RpL6sh_w
WARNING: Retrying... context=artifacts-uploader error=invalid argument
WARNING: Uploading artifacts as "archive" to coordinator... failed id=71765 responseStatus=502 Bad Gateway status=502 token=RpL6sh_w
FATAL: invalid argument
ERROR: Job failed: exit code 1