[bst-1] cascache.py: allow using Remote Asset for storing refs
Description
This allows using any server implementing CAS and Remote Asset as artifact cache, while keeping compatibility .
This can for example use buildbox-casd from BuildGrid/buildbox/buildbox-casd!205 (merged) as artifact cache.