Merge request

Feature #78 Query Executor - Added support for storagesize, totalIndexSize and aggregate.
Refactored js code.