Fixed error in aggregation API example

SpaceProxy and class with extension methods does not have Query(string
params) method.
Merge pull request #310 from EvgeniyOnopko/master

Fixed error in aggregation API example