Register current device in the associated DeviceConstellation.
name - An initial name for the current device. This may be changed via setDeviceNameAsync.
type - Type of the current device. This can’t be changed.
capabilities - A list of capabilities that the current device claims to have.
Return A Deferred that will be resolved with a success flag once operation is complete.