Removing hardcoded database name

The database should be read from the config.coffee, not hardcoded to
'thermostatmonitor'
Fixing csv export.

Wasn't using proper method signature in getDailySummaryCsv
Merge pull request #2 from mabrowning/master

Fix Snapshot summary