aggs: Completed aggregations of ES 1.1

Added aggregation types nested and geo_distance.

Implemented access to sub-aggregations.