Vendorize perks/quantile.

Change-Id: I2b24bddf5a975a46ceb598db328c317982154466