feat(search): let client specify doc types

SD-1057
Not in this PR:
for resource in types:
            response = {app.config['ITEMS']: [doc for doc in docs if doc['_type'] == resource]}