current sensor support added

also optimized the vbat code a bit
Merge pull request #113 from luggi/Powermeter

Current sensor support added, with defaults for Allegro ACS758 current sensor.