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.
Peter, I changed this for testing purposes, it shouldn't make any influence on NodeWebkit package, because Grunt automatically places correct Storage class into app config