Move generic code from charger-3ph.c to charger-common.inc to be #included
As a result the computation of averaged currents and voltages
 is done on all batteries, even missing ones.
Set the Panel switch in the charger code and pass batteryUnderCharge
 from monitor.