REACH-76 settings.url is not defined in start.html in node-webkit

Now settings.js is shared between front-end and nodejs applications,
Socket url used for both nodejs and requirejs is stored in Settings.js;
Also contains some minor refactoring of issues, like commas,
unused code, etc.
It's fine.