Set device state to initialized before registering as micro service.
Set device state to initialized before registering as micro service.

There could be an infinite loop be caused by the combined modality
under some circumstances.

danielknorr/MITK,fmilano/mitk,lsanzdiaz/MITK-BiiG,danielknorr/MITK,iwegner/MITK,NifTK/MITK,MITK/MITK,danielknorr/MITK,RabadanLab/MITKats,NifTK/MITK,RabadanLab/MITKats,danielknorr/MITK,iwegner/MITK,fmilano/mitk,iwegner/MITK,MITK/MITK,NifTK/MITK,iwegner/MITK,MITK/MITK,danielknorr/MITK,danielknorr/MITK,MITK/MITK,fmilano/mitk,fmilano/mitk,MITK/MITK,fmilano/mitk,iwegner/MITK,lsanzdiaz/MITK-BiiG,lsanzdiaz/MITK-BiiG,lsanzdiaz/MITK-BiiG,lsanzdiaz/MITK-BiiG,RabadanLab/MITKats,RabadanLab/MITKats,MITK/MITK,iwegner/MITK,lsanzdiaz/MITK-BiiG,danielknorr/MITK,fmilano/mitk,RabadanLab/MITKats,NifTK/MITK,lsanzdiaz/MITK-BiiG,RabadanLab/MITKats,NifTK/MITK,NifTK/MITK,lsanzdiaz/MITK-BiiG,fmilano/mitk