Re #7672. Added moment calculations to Kernel/Statistics.

The two methods are getMomentsAboutOrigin and getMomentsAboutMean.
They work for densities and histograms.
Merge branch 'feature/7672_moment_calc' into develop