A more generic way to find cached datasets

* a method to find datasets without DBSDaemon instance
* Remove dbsmgr from DASQuery
* refactor wildcard matching accordingly

fixes issue #4061