OAK-1941 - add test case for measuring collection lookup, restrict result set size in SQL queries

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1633838 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'upstream-trunk' into OAK-2226
OAK-2226 - Lucene no results for multiple jcr:contains

expanded the unit test
OAK-2226 - Lucene no results for multiple jcr:contains

added logging to AggregateIndex
OAK-2226 - Lucene no results for multiple jcr:contains

comments in unit test