support 'not' key in complex queries.

also, allow combination of 'all' and 'either' (as supported by ES).
rev_deps should map to releases. thanks Olaf ;)