Minor code cleanups
Fixed type in remoteconnectfailed message
Server shutdown and resume

- Implemented “soft disconnects” - when a websocket is closed while the app moves into the background this often leads to crashes due to a UIWebView bug. Because of this, when moving to the background, we “soft disconnect” all remotes - basically, everyone acts as if the websocket was disconnected but it isn’t
- When the app is sent to the background, the server now soft disconnects all remotes but keeps running and keeps the weblib connected (since it seems it cannot be shut down properly using Nodelike)
- server.js was restructured to be clearer. Some old code is still lingering in there, though

Still missing: The web library websocket might disconnect due to the network interfaces being shut down (for example when the device is sent so sleep). We need a retry mechanism