updated serialization to save the whole device.
This is actually a really expandable solution.  I can store read-only device state serialized, but maybe still maintain columns that I might want to filter by, like location.
I also updated the logic that decides to add a new device or update an existing device.  The whole SyncHomeAutomationNetwork class... the whole framework around that too... it needs to go!