Preaggregations can include medians now

Because of limitations in MongoDB, medians cannot be done with normal
aggregations, but can be included in all preaggregated data.
Merge pull request #90 from cndreisbach/median-preagg

Preaggregations can include medians now
Upgrade libraries