reorganised js dependencies and gave them better names where needed (pie and legend have now prefix d3.chart.), makde report generation more generic, added a simple over time report