Mode, median and standard deviation aggregators

Added support for mode of a discrete distribution, median and population standard deviation aggregators.

Reference for the standard deviation algorithm: http://www.cs.berkeley.edu/~mhoemmen/cs194/Tutorials/variance.pdf