lib: added some useful methods in counter

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib: introduce console module to hold terminal related features

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

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>
test: update test for nitmetrics

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: add --no-colors option for console outputs

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: replace `dit` by `posert_element.depth`

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