Implemented /getModes and /setMode interfaces.
Partially implemented /getSettings request (JSONUtils::getSettingJSON is not complete).