for LOOKUP queries with wildcards, return when there is a match. Refs #676
raise batch size
Merge branch 'beta' into i676
use same method as non-wildcard section
the queries are not using the cache because the constraints are not ordered. I don't know why there are three queries either. The main query plus the count is two queries. I don't know what the third query is for. Refs #676
Merge pull request #852 from intermine/i676

Duplicate queries in logs