Added duration functionality to aggregate stream queries
Merge branch 'master' into temporal_aggregates

Conflicts:
	server.js
Added comments explaining caching of temporal aggregates.
Merge pull request #4 from smart-facility/temporal_aggregates

Adding support for temporal queries in aggregates data stream