nitmetrics: fix is_user_defined for modules.

This solution is a workaround based on a static module list, this is quitte uggly and need to be fixed with better module hierarchy exploration

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitmetrics: add scalar summary metrics for modules

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitmetrics: fix DIT calculation

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitmetrics: output mclass.arity in csv results

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitmetrics: compute scalar module count

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitmetrics: add specifiv genericity metrics

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitmetrics: add metrics about genericity inheritance

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Remove useless metrics about genericity

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

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitmetrics: moved CSVDocument from metrics_base to /lib

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