src/CXX/stats: namespace for statistics introduced

Comming with floating window average computation implementation,
namespace for statistics is here.
Statistics is a pre-requisite for self-optimisation mechanisms
that will be used to achieve high performance of the generator
(service).