Add device state information

-Set device state by command and callback
-Add test case

Bug: 150903460
Test: make -j50 RunSettingsLibRoboTests
Change-Id: I59e1942c58f97b2c4b3549b3154f407ac63e4290
4 files changed