Support battery charge counting

Counting of battery charge cycles implemented.
Use command  "cc" to set/get current charge counter value.
Enable SUPPORT_BATTERY_CHARGE_COUNTER in config.h to support this
feature.