hardware branch of 0504

added arduino controls and device states
Added onchange member to "hardware"
Cleanup
Added a dummy node program

Simulates connected arduino.
Communication fixes
Tied into the application
tied to batteries
Merge remote-tracking branch '/arduinoInterface'