WIP: Add histogram support

Based this off PR: https://github.com/rackerlabs/blueflood/pull/95
(P)Review commits e0dcdb8, 6394b92