Added provisions to support a setup routine for each device which is called automatically on start up

Fixed some things which were preventing regen from working.

Reworked throttle code heavily. It now will regen all of the way to the top of the pedal and won't fault unless the throttle goes a certain bit out of spec.