Issue #178: Make the support for measurements more extensible
Split the PercentileScriptService into small modules, each module responsible for a specific kind of measurements.