artifactory: do looping in _search
artifactory: do looping in _search

Detecting single vs list operations in _get/_post/_request was too
fragile. Do the looping in _search, which is the only place we care
about returning multiple responses.

sassoftware/mirrorball,sassoftware/mirrorball