Change device block creation to initializedNode, so that it is replicated to late joiners
Add devices node to getState
Merge branch 'branch/device' into branch/device-example-app