reduce sql selects
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 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
egauge and circuit aggregation are successful using the general form
providing general form of interval averages

Marking methods to be removed/replaced as deprecated.
case where subkeys do not exist is handled
fixing up handling of nonsubkey case
fixing copy of subkeys; verified operation for irradiance and weather types
removing redundancies; adding params to tests for row cnt & agg cols
removing unused tests