stat definition now uses display: 'avg' instead of 'mean', to comply
with graphite, but keep mean as synonym for backward-compat
period.length should be sec not millisec
graphite source now uses summarize to give sanity to long-period resolution