Use Remote Asset API for artifact and source caches
This is the first step towards the Remote Asset API.
This MR depends on !1976 (merged), !1977 (merged) and buildbox-casd changes.
Fixes #1272 (closed) and #1273 (closed).
Edited by Jürg Billeter