Merge pull request #11 from dz1111/master

Updating changes related to export.
Bug fixes IIRC.
Merge branch 'master' of https://github.com/Hawaii-Smart-Energy-Project/Maui-Smart-Grid
Merge pull request #12 from daveywilkie/master

Better use of dicts
Merge pull request #13 from dz1111/DataAggregation

Data Aggregation Phase 1
reduce sql selects
added pv system col
Merge branch 'DataAggregation' of github.com:dz1111/Maui-Smart-Grid into DataAggregation
correcting raw data reads
starting writing of aggregated data, in-progress; fixing up raw data tests
additional raw data fixes
change agg data to object type
change agg data to object type; add col checks
adding type to agg data class
handling insert of data types; fixing internal exceptions

Handling of interval crossings needs review for the case where subkeys are used due to all available data not being aggregated based on handling of the order of subkey processing relative to interval crossings.
adding solar+ col
adding color to logging output
aggregating egauge data using subkeys; adding additional logging options

Subkey method should be propagated to other data types.
minute crossing via subkeys is now dynamic

This results in further progress toward a generalized aggregation routine.
removing unused id gathering