RestDS: added assets.has to tell if ds has an existing asset, tests