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.
Wee need Settings.js to be copied to the dist folder, so the NodeJs can access settings