util: Infrastructure for computing recent averages

The module takes care of computing minimal and maximal
values over the time slice duration.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Benoît Canet <benoit.canet@nodalink.com>