Major rework of internals
This rework allows the implementation of more sensors: direct reading, historical consumption, historical generation and historical power demand (all of them, except direct reading, must be enabled explicitly since they are based on our HistoricalSensor hack)
Note: A instant comsuption sensor is planed before the final 1.0.0 release.