OAK-2119 - AggregateIndex should support AdvanceQueryIndex

Non full text index were getting skipped from returned list. Fixing that

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1635518 13f79535-47bb-0310-9956-ffa450edef68
OAK-1941 - use getLastCheckTime() rather than getCreated(), and properly maintain it in implementation of query(...)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1635523 13f79535-47bb-0310-9956-ffa450edef68