normalize histograms

Change-Id: Ia6ccdda2cca51b7860f81897df340908e5cd0cdc
Reviewed-on: http://review.couchbase.org/30493
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: buildbot <build@couchbase.com>