mode stuff

enumeration order of modes changes, mode is sent instead of bmunum
selfTestCheck fix
Merge remote-tracking branch 'origin/Nima-Ghods' into NEW-MASTER
Merge branch 'NEW-MASTER' of https://github.com/iamgregory/Battery-Code into NEW-MASTER