Fix/Enh: Scheduler.get_stats_struct() returned metrics values
Fix/Enh: Scheduler.get_stats_struct() returned metrics values

copy/paste not adapted for each status,
the returned count for 'inpoller' and 'zombie' checks was the one of 'scheduled' checks..

moral of the story: be DRY !
here just made a function doing the counts and used it.

gst/alignak,Alignak-monitoring/alignak,ddurieux/alignak,titilambert/alignak,ddurieux/alignak,gst/alignak,titilambert/alignak,titilambert/alignak,ddurieux/alignak,Alignak-monitoring/alignak,gst/alignak,ddurieux/alignak,ddurieux/alignak,ddurieux/alignak,titilambert/alignak,gst/alignak