Changed chart's use of API and some adjustments so the fan function works with the new (big) fan.

The problems with the chart before had to do with the API returning paginated data. I couldn't turn it off because the dataset got too big. So, instead, I'm hardcoding the chart script to ask for up to 300 data elements. More than that, and we'll have to restart and wipe the database.
Merge branch 'master' of github.com:ForSpareParts/smarthub

Conflicts:
	ipro337_web/main/static/js/chart.js