Standard mean binning analytic

Implement a standard statistical mean analytic for double values.
It should work with field type 'mean' or 'average'