add nested aggregation
Merge pull request #232 from vbehar/features/aggs_nested

add nested aggregation