refactoring of OneWire and Scheduler

it now conforms with the OneWire and Scheduler proposal on http://www.firmata.org/wiki/Proposals