added support for indexes covering queries
jira: close MB-9189
also fixed bug where use of bucket aliases prevented use of indexes
jira: close MB-9316