Added authentication check for notification server
When offline mode is detected socket.io is notified immediately of offline state instead of waiting for heartbeat to fail.
Merge branch 'master' of https://github.com/Gisto/Gisto
Bugfix: Gravatar got cached after user logout and other user login. Fixes #48