Fix Socketio deprecation errors

- Migrate from Socket.IO 0.9 to 1.0
- Remove deprecated functions and replace with new syntax
- Edit listener events in server-side and client-side javascript files
- Remove id sign from chatEntries div selector