use percentile based histograms

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