Graphite writer: TDigest & Concurrency

* Use the TDigest for computing the percentiles, a much more precise approach.
* Avoid concurrency issues when sending the measures.