Implemented compression algorithm (partially)

Implemented compression algorithm in updateSceneObjects in main.js, as
well as updateScoreboard in main.js. The only thing left for it is to
directly override socket.io's transport system (JSON), to allow me to
compress the data further.