Added 'databaseName' to ConsoleEvent.json and renamed 'id' to 'applicationName'

Removed unused code
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into issue/1675
Changed how the websocket handshake is implemented in staradmin when running as a code host console (we no longer send a handshake message back once we receive the upgrade from the server).