lib: introduce console module to hold terminal related features

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib: added some useful methods in counter

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib: introduce service `depth` in PosetElement

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: add abstract metrics classes for better organization

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: extract mmodule_metrics in its own module

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: extract mclasses_metrics in its own nit module

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: refactor inheritance metrics

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: replace is_user_defined() by is_standard()

also fix the @FIXME

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: remove useless redef of Model from metrics_base

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: add colors to metrics output

Also --no-colors option to disable colors in outputs

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
tests: update metrics tests

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>