Added test code for prototype payload board

The payload board is not responding.  I2C is working with the RTC, so I
don't think it's me.  I also added a RTOS-safe I2C scan function in
wire.c to scan every address on a bus.