use numpy for percentile calculation

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