added initial support for 'search all metadata'. it doesn't handle OR cases prepared in libraries.js. should come back to this later on.