Merge pull request #7 from sebprunier/master

fixing bar order in charts, adding onclick binding on bar chart
Fixing startingDate and endingDate propagation to perfs retrieval
Merge pull request #8 from lbroudoux/master

Fixing startingDate and endDate propagation
refactor date range url
reformat
refactor url building
simplify document building
refactor routes to routes/index.js and use JSONStream