MICASERVER-169 Added aggregation resource to dataset variables. Associat...

...es study table to query result