Revert "Revert "backend: return device status when calling on/off/toggle via javascript""

This reverts commit c9e47f41722396ad394caa78da49f161b0f8ede3.
Revert "more ui foo, charwrite start"

This reverts commit 549c35a1ba89ba281ba2fe3ca1dbcfee72525259.