Zwave startup issues

This adds a controller reset to ensure we know the state of the zwave controller.
It also fixes a couple of bugs associated with SendData packets, and adds some additional logging.

(apparently this has fixed the packet duplication error on the RPi for at least one user)