Check type of variable before using it as string
Add support to table with Top threads

Add new functions to display the table with top threads using the
basic_metrics dict only to get the label of each metric.
Fix errors detected with jasmine tests

Modify code to pass jasmine tests. Tests fixed: MetricsEvol and MetricsEvolSet
Fix error detected in jasmine about bubbles.

Add handler for People and Downloads data sources for the error:
"Report html report should be converted html bubbles should be displayed"
Fix error detected in jasmine tests

Add handler for People and Downloads data sources for the error:
"People checking Top 1 SCM developer should have Evol and Global metrics"
Fix syntax errors with "for" loops
Fix error detected in jasmine about demographics

Add handler for People and Downloads data sources for the error:
"Report html report should be converted html demographics should be displayed"
Fix error detected in jasmine about top

Add handler for People and Downloads data sources for the error:
"Report html report should be converted html top should be displayed"
Merge branch 'fix-tests'