Selectable aggregate support in mongodb

Addresses: BP selectable-aggregates

Add parallel support to mongodb for the selection of
standard aggregate functions.

Test coverage is provided by the scenario test added in
previous patch of this series.

Change-Id: I797b69958733a9401d3825547c95e41672bc4374
Merge "Selectable aggregate support in mongodb"