Implemented promises in the appSettings service in order to prevent startup loading issues (localStorage is not always ready).
Removed notification server check for connectivity before trying to connect to the server as it had false negatives and the library handles the connection properly if already connected.
Added a null check for ioSocket before trying to initiate connection.
Fixed a bug where saving settings would reset the token and log the user out.
Added a promise to the settingsController to load only when localStorage is ready and settings has been loaded.
Text corrections
Application settings now persist over users, if a user logs out his settings remain intact.
Fixed a bug where logging out and immediately logging back in and changing a theme would cause you to logout.
Added the ability to login with a custom token generated in github.com fix #67
Fix "Generate token" URL to open in the browser.