SocketIO file upload + thumbnails generation

Files are uploaded using Socket IO.
Added thumbnails generation.
Log is updated exclusively in dispatch.coffee.
Fixed open in sandbox.
Commodified download button behaviour across JS and GL.