Adding chart page

Creation of a new page for charting the sensor's values.
Charting is done with flot (http://www.flotcharts.org).
Add new function to retrieve 30 days of data

The new function will retrieve the last 30 days of data of the 30 days
before a date given in parameter.
Merge branch 'charts'

Conflicts:
	app/routes.py