Merge pull request #2013 from mcspr/web/sch-init-order
Since relayState is no longer in the same obj as relayConfig, init relays when matching relayConfig.
Also a small update to the scheduler (...which needs more cleanup...), fix getSetting("schType", i, 0) when sending ws data