Moved fill_and_order_items functions to GrimoireLib so it can be used
in scr_metrics.py.
Check data is array of values when converting from group by data to ts data.
Implemented pending metric for GROUP BY new SQL functions.
Merge branch 'master' of github.com:VizGrimoire/GrimoireLib