Move protocol helpers into an `encoding` package.
Fix `DeliverReply.Status` constants.
`cscn.Device` => `encoding.Device`.

Replace ad-hoc `ClusterId, DeviceId` fields with `encoding.Device`.